summaryrefslogtreecommitdiffstats
path: root/src/asr.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-06-08 16:31:59 -0400
committerGravatar Joshua Hill2010-06-08 16:31:59 -0400
commitebc6622cec840d5a7310e27864773ee600034bd4 (patch)
tree4a918c758cfc3187faffcc97b0f2c7810289e05a /src/asr.c
parent04f32540c4e73c19281c2e7710b51d21ace6010b (diff)
downloadidevicerestore-ebc6622cec840d5a7310e27864773ee600034bd4.tar.gz
idevicerestore-ebc6622cec840d5a7310e27864773ee600034bd4.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;
}