summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}