summaryrefslogtreecommitdiffstats
path: root/src/asr.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-09 04:31:59 +0800
committerGravatar rcg4u2010-06-09 17:17:30 +0800
commitb39abb66ffa5e26f38cb2ba03562d091decafc84 (patch)
tree4a918c758cfc3187faffcc97b0f2c7810289e05a /src/asr.c
parentbd7a45ad71862da6ecd96a1156bf5b1e123e3c43 (diff)
downloadidevicerestore-b39abb66ffa5e26f38cb2ba03562d091decafc84.tar.gz
idevicerestore-b39abb66ffa5e26f38cb2ba03562d091decafc84.tar.bz2
ooops, should of tested that last commit before pushing
Diffstat (limited to 'src/asr.c')
-rw-r--r--src/asr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/asr.c b/src/asr.c
index 30166ec..c7b6147 100644
--- a/src/asr.c
+++ b/src/asr.c
@@ -48,7 +48,7 @@ int asr_open_with_timeout(idevice_t device, idevice_connection_t* asr) {
if (device_error == IDEVICE_E_SUCCESS) {
break;
}
-plist_new_
+
if (i >= attempts) {
error("ERROR: Unable to connect to ASR client\n");
return -1;
@@ -103,7 +103,8 @@ int asr_send(idevice_connection_t asr, plist_t* data) {
return -1;
}
- debug("Sent %d bytes:\n%s", bytes, debug_plist(data));
+ debug("Sent %d bytes:\n", size);
+ debug_plist(data);
free(buffer);
return 0;
}