summaryrefslogtreecommitdiffstats
path: root/src/usbmux.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-31 18:31:21 +0200
committerGravatar Jonathan Beck2008-08-31 19:33:19 +0200
commit8333ca944cc56b4da1ab418c0b890f96f5135210 (patch)
tree63792ef9d2786d23b53e47dd8af9f9055c1a6bef /src/usbmux.c
parent86f61988990daa30c8564e2b26666dd442bd6e65 (diff)
downloadlibimobiledevice-8333ca944cc56b4da1ab418c0b890f96f5135210.tar.gz
libimobiledevice-8333ca944cc56b4da1ab418c0b890f96f5135210.tar.bz2
use new function signature and few bugfixes.
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