summaryrefslogtreecommitdiffstats
path: root/src/usbmux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usbmux.c')
-rw-r--r--src/usbmux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usbmux.c b/src/usbmux.c
index 8d85245..35f2ef3 100644
--- a/src/usbmux.c
+++ b/src/usbmux.c
@@ -250,7 +250,7 @@ iphone_error_t iphone_mux_send ( iphone_umux_client_t client, const char *data,
250 *sent_bytes = *sent_bytes - 28; // actual length sent. :/ 250 *sent_bytes = *sent_bytes - 28; // actual length sent. :/
251 } 251 }
252 252
253 return IPHONE_E_UNKNOWN_ERROR; 253 return IPHONE_E_SUCCESS;
254} 254}
255 255
256/** This is a higher-level USBMuxTCP-like function 256/** This is a higher-level USBMuxTCP-like function
@@ -371,6 +371,6 @@ iphone_error_t iphone_mux_recv ( iphone_umux_client_t client, char *data, uint32
371 371
372 // If we get to this point, 'tis probably bad. 372 // If we get to this point, 'tis probably bad.
373 if (debug) printf("mux_recv: Heisenbug: bytes and datalen not matching up\n"); 373 if (debug) printf("mux_recv: Heisenbug: bytes and datalen not matching up\n");
374 return -1; 374 return IPHONE_E_UNKNOWN_ERROR;
375} 375}
376 376