diff options
| author | 2013-10-09 17:44:11 +0200 | |
|---|---|---|
| committer | 2013-10-09 17:44:11 +0200 | |
| commit | 8050de72b9910a923959e26cd5cc9e3181ae7761 (patch) | |
| tree | e846707abd28bfa15a97c9ebaac98a85ead30a4f /src/notification_proxy.c | |
| parent | 708a866e103539384a3a789cee7a4d6753b4c277 (diff) | |
| download | libimobiledevice-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.c | 4 |
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) | |||
| 336 | res = -2; | 336 | res = -2; |
| 337 | if (name_value_node && name_value) { | 337 | if (name_value_node && name_value) { |
| 338 | *notification = name_value; | 338 | *notification = name_value; |
| 339 | debug_info("got notification %s\n", __func__, name_value); | 339 | debug_info("got notification %s", __func__, name_value); |
| 340 | res = 0; | 340 | res = 0; |
| 341 | } | 341 | } |
| 342 | } else if (cmd_value && !strcmp(cmd_value, "ProxyDeath")) { | 342 | } 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, | |||
| 421 | 421 | ||
| 422 | np_lock(client); | 422 | np_lock(client); |
| 423 | if (client->notifier) { | 423 | if (client->notifier) { |
| 424 | debug_info("callback already set, removing\n"); | 424 | debug_info("callback already set, removing"); |
| 425 | property_list_service_client_t parent = client->parent; | 425 | property_list_service_client_t parent = client->parent; |
| 426 | client->parent = NULL; | 426 | client->parent = NULL; |
| 427 | thread_join(client->notifier); | 427 | thread_join(client->notifier); |
