diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/iphone.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/iphone.c b/src/iphone.c index 80e796b..eabe6cd 100644 --- a/src/iphone.c +++ b/src/iphone.c | |||
| @@ -310,6 +310,7 @@ iphone_error_t iphone_device_recv_timeout(iphone_connection_t connection, char * | |||
| 310 | log_debug_msg("%s: ERROR: usbmuxd_recv_timeout returned %d (%s)\n", __func__, res, strerror(-res)); | 310 | log_debug_msg("%s: ERROR: usbmuxd_recv_timeout returned %d (%s)\n", __func__, res, strerror(-res)); |
| 311 | return IPHONE_E_UNKNOWN_ERROR; | 311 | return IPHONE_E_UNKNOWN_ERROR; |
| 312 | } | 312 | } |
| 313 | return IPHONE_E_SUCCESS; | ||
| 313 | } else { | 314 | } else { |
| 314 | log_debug_msg("%s: Unknown connection type %d\n", __func__, connection->type); | 315 | log_debug_msg("%s: Unknown connection type %d\n", __func__, connection->type); |
| 315 | } | 316 | } |
| @@ -341,6 +342,8 @@ iphone_error_t iphone_device_recv(iphone_connection_t connection, char *data, ui | |||
| 341 | log_debug_msg("%s: ERROR: usbmuxd_recv returned %d (%s)\n", __func__, res, strerror(-res)); | 342 | log_debug_msg("%s: ERROR: usbmuxd_recv returned %d (%s)\n", __func__, res, strerror(-res)); |
| 342 | return IPHONE_E_UNKNOWN_ERROR; | 343 | return IPHONE_E_UNKNOWN_ERROR; |
| 343 | } | 344 | } |
| 345 | |||
| 346 | return IPHONE_E_SUCCESS; | ||
| 344 | } else { | 347 | } else { |
| 345 | log_debug_msg("%s: Unknown connection type %d\n", __func__, connection->type); | 348 | log_debug_msg("%s: Unknown connection type %d\n", __func__, connection->type); |
| 346 | } | 349 | } |
