diff options
| author | 2008-08-06 21:04:09 -0700 | |
|---|---|---|
| committer | 2008-08-06 21:04:09 -0700 | |
| commit | bef655966045af34e1f20a7211f0cab2e7e79001 (patch) | |
| tree | 590b41891fab48af0c3f35431f7476bbc2b4b0a2 /src/iphone.c | |
| parent | d81a3c5c412cca9b8327d6d27625bc52650e9651 (diff) | |
| download | libimobiledevice-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.c | 2 |
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) { | |||
| 163 | * @param data Where to put data read | 163 | * @param data Where to put data read |
| 164 | * @param datalen How much data to read in | 164 | * @param datalen How much data to read in |
| 165 | * | 165 | * |
| 166 | * @returns How many bytes were read in, or -1 on error. | 166 | * @return How many bytes were read in, or -1 on error. |
| 167 | */ | 167 | */ |
| 168 | int recv_from_phone(iPhone *phone, char *data, int datalen) { | 168 | int recv_from_phone(iPhone *phone, char *data, int datalen) { |
| 169 | if (!phone) return -1; | 169 | if (!phone) return -1; |
