diff options
Diffstat (limited to 'src/property_list_service.c')
| -rw-r--r-- | src/property_list_service.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/property_list_service.c b/src/property_list_service.c index a5bdf9b..f411699 100644 --- a/src/property_list_service.c +++ b/src/property_list_service.c | |||
| @@ -98,7 +98,8 @@ LIBIMOBILEDEVICE_API property_list_service_error_t property_list_service_client_ | |||
| 98 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, | 98 | * @return PROPERTY_LIST_SERVICE_E_SUCCESS on success, |
| 99 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG when one or more parameters are | 99 | * PROPERTY_LIST_SERVICE_E_INVALID_ARG when one or more parameters are |
| 100 | * invalid, PROPERTY_LIST_SERVICE_E_PLIST_ERROR when dict is not a valid | 100 | * invalid, PROPERTY_LIST_SERVICE_E_PLIST_ERROR when dict is not a valid |
| 101 | * plist, or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when an unspecified | 101 | * plist, PROPERTY_LIST_SERVICE_E_MUX_ERROR when a communication error |
| 102 | * occurs, or PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR when an unspecified | ||
| 102 | * error occurs. | 103 | * error occurs. |
| 103 | */ | 104 | */ |
| 104 | static property_list_service_error_t internal_plist_send(property_list_service_client_t client, plist_t plist, int binary) | 105 | static property_list_service_error_t internal_plist_send(property_list_service_client_t client, plist_t plist, int binary) |
| @@ -140,6 +141,7 @@ static property_list_service_error_t internal_plist_send(property_list_service_c | |||
| 140 | } | 141 | } |
| 141 | if (bytes <= 0) { | 142 | if (bytes <= 0) { |
| 142 | debug_info("ERROR: sending to device failed."); | 143 | debug_info("ERROR: sending to device failed."); |
| 144 | res = PROPERTY_LIST_SERVICE_E_MUX_ERROR; | ||
| 143 | } | 145 | } |
| 144 | 146 | ||
| 145 | free(content); | 147 | free(content); |
