diff options
author | Martin Szulecki | 2013-10-09 17:44:11 +0200 |
---|---|---|
committer | Martin Szulecki | 2013-10-09 17:44:11 +0200 |
commit | 8050de72b9910a923959e26cd5cc9e3181ae7761 (patch) | |
tree | e846707abd28bfa15a97c9ebaac98a85ead30a4f /src/property_list_service.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/property_list_service.c')
-rw-r--r-- | src/property_list_service.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |