From 3ce5d8e486195b62385b4d449cd7b63c33d81db4 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sat, 12 Sep 2009 19:46:56 +0200 Subject: Fix iphone_device_recv making receive operational again --- src/iphone.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); } -- cgit v1.1-32-gdbae