summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/afc.c2
-rw-r--r--src/idevice.c2
-rw-r--r--src/lockdown.c2
-rw-r--r--src/notification_proxy.c4
-rw-r--r--src/property_list_service.c4
-rw-r--r--src/restore.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/src/afc.c b/src/afc.c
index fc6ce73..e3da184 100644
--- a/src/afc.c
+++ b/src/afc.c
@@ -215,7 +215,7 @@ static afc_error_t afc_dispatch_packet(afc_client_t client, const char *data, ui
if ((length) < (client->afc_packet->entire_length - client->afc_packet->this_length)) {
debug_info("Length did not resemble what it was supposed to based on packet");
debug_info("length minus offset: %i", length - offset);
- debug_info("rest of packet: %i\n", client->afc_packet->entire_length - client->afc_packet->this_length);
+ debug_info("rest of packet: %i", client->afc_packet->entire_length - client->afc_packet->this_length);
return AFC_E_INTERNAL_ERROR;
}
diff --git a/src/idevice.c b/src/idevice.c
index f35c666..b067fa5 100644
--- a/src/idevice.c
+++ b/src/idevice.c
@@ -113,7 +113,7 @@ idevice_error_t idevice_get_device_list(char ***devices, int *count)
*count = 0;
if (usbmuxd_get_device_list(&dev_list) < 0) {
- debug_info("ERROR: usbmuxd is not running!\n", __func__);
+ debug_info("ERROR: usbmuxd is not running!", __func__);
return IDEVICE_E_NO_DEVICE;
}
diff --git a/src/lockdown.c b/src/lockdown.c
index c8341e4..d94fabb 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -389,7 +389,7 @@ lockdownd_error_t lockdownd_query_type(lockdownd_client_t client, char **type)
}
ret = LOCKDOWN_E_SUCCESS;
} else {
- debug_info("hmm. QueryType response does not contain a type?!\n");
+ debug_info("hmm. QueryType response does not contain a type?!");
debug_plist(dict);
}
plist_free(dict);
diff --git a/src/notification_proxy.c b/src/notification_proxy.c
index 3f48601..d219b30 100644
--- a/src/notification_proxy.c
+++ b/src/notification_proxy.c
@@ -336,7 +336,7 @@ static int np_get_notification(np_client_t client, char **notification)
res = -2;
if (name_value_node && name_value) {
*notification = name_value;
- debug_info("got notification %s\n", __func__, name_value);
+ debug_info("got notification %s", __func__, name_value);
res = 0;
}
} else if (cmd_value && !strcmp(cmd_value, "ProxyDeath")) {
@@ -421,7 +421,7 @@ np_error_t np_set_notify_callback( np_client_t client, np_notify_cb_t notify_cb,
np_lock(client);
if (client->notifier) {
- debug_info("callback already set, removing\n");
+ debug_info("callback already set, removing");
property_list_service_client_t parent = client->parent;
client->parent = NULL;
thread_join(client->notifier);
diff --git a/src/property_list_service.c b/src/property_list_service.c
index ea117af..6efeaf1 100644
--- a/src/property_list_service.c
+++ b/src/property_list_service.c
@@ -240,7 +240,7 @@ static property_list_service_error_t internal_plist_receive_timeout(property_lis
debug_info("%d bytes following", pktlen);
content = (char*)malloc(pktlen);
if (!content) {
- debug_info("out of memory when allocating %d bytes\n", pktlen);
+ debug_info("out of memory when allocating %d bytes", pktlen);
return PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR;
}
@@ -254,7 +254,7 @@ static property_list_service_error_t internal_plist_receive_timeout(property_lis
curlen += bytes;
}
if (curlen < pktlen) {
- debug_info("received incomplete packet (%d of %d bytes)\n", curlen, pktlen);
+ debug_info("received incomplete packet (%d of %d bytes)", curlen, pktlen);
if (curlen > 0) {
debug_info("incomplete packet following:");
debug_buffer(content, curlen);
diff --git a/src/restore.c b/src/restore.c
index a7f07f2..88fc168 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -260,7 +260,7 @@ restored_error_t restored_query_type(restored_client_t client, char **type, uint
}
ret = RESTORE_E_SUCCESS;
} else {
- debug_info("hmm. QueryType response does not contain a type?!\n");
+ debug_info("hmm. QueryType response does not contain a type?!");
debug_plist(dict);
plist_free(dict);
}