summaryrefslogtreecommitdiffstats
path: root/src/iphone.c
diff options
context:
space:
mode:
authorGravatar Zach C2008-08-06 21:04:09 -0700
committerGravatar Matt Colyer2008-08-06 21:04:09 -0700
commitbef655966045af34e1f20a7211f0cab2e7e79001 (patch)
tree590b41891fab48af0c3f35431f7476bbc2b4b0a2 /src/iphone.c
parentd81a3c5c412cca9b8327d6d27625bc52650e9651 (diff)
downloadlibimobiledevice-bef655966045af34e1f20a7211f0cab2e7e79001.tar.gz
libimobiledevice-bef655966045af34e1f20a7211f0cab2e7e79001.tar.bz2
Adds locking and fixes a minor bug in mux_recv
Signed-off-by: Matt Colyer <matt@colyer.name>
Diffstat (limited to 'src/iphone.c')
-rw-r--r--src/iphone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iphone.c b/src/iphone.c
index 6000a19..426b629 100644
--- a/src/iphone.c
+++ b/src/iphone.c
@@ -163,7 +163,7 @@ int send_to_phone(iPhone *phone, char *data, int datalen) {
* @param data Where to put data read
* @param datalen How much data to read in
*
- * @returns How many bytes were read in, or -1 on error.
+ * @return How many bytes were read in, or -1 on error.
*/
int recv_from_phone(iPhone *phone, char *data, int datalen) {
if (!phone) return -1;