summaryrefslogtreecommitdiffstats
path: root/src/iphone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iphone.c')
-rw-r--r--src/iphone.c3
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 *
log_debug_msg("%s: ERROR: usbmuxd_recv_timeout returned %d (%s)\n", __func__, res, strerror(-res));
return IPHONE_E_UNKNOWN_ERROR;
}
+ return IPHONE_E_SUCCESS;
} else {
log_debug_msg("%s: Unknown connection type %d\n", __func__, connection->type);
}
@@ -341,6 +342,8 @@ iphone_error_t iphone_device_recv(iphone_connection_t connection, char *data, ui
log_debug_msg("%s: ERROR: usbmuxd_recv returned %d (%s)\n", __func__, res, strerror(-res));
return IPHONE_E_UNKNOWN_ERROR;
}
+
+ return IPHONE_E_SUCCESS;
} else {
log_debug_msg("%s: Unknown connection type %d\n", __func__, connection->type);
}