summaryrefslogtreecommitdiffstats
path: root/src/notification_proxy.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-10-09 17:44:11 +0200
committerGravatar Martin Szulecki2013-10-09 17:44:11 +0200
commit8050de72b9910a923959e26cd5cc9e3181ae7761 (patch)
treee846707abd28bfa15a97c9ebaac98a85ead30a4f /src/notification_proxy.c
parent708a866e103539384a3a789cee7a4d6753b4c277 (diff)
downloadlibimobiledevice-8050de72b9910a923959e26cd5cc9e3181ae7761.tar.gz
libimobiledevice-8050de72b9910a923959e26cd5cc9e3181ae7761.tar.bz2
Remove duplicate newline from debug messages as one is added automatically
Diffstat (limited to 'src/notification_proxy.c')
-rw-r--r--src/notification_proxy.c4
1 files changed, 2 insertions, 2 deletions
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);