diff options
| author | 2013-10-09 17:44:11 +0200 | |
|---|---|---|
| committer | 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 | |||
| 240 | debug_info("%d bytes following", pktlen); | 240 | debug_info("%d bytes following", pktlen); |
| 241 | content = (char*)malloc(pktlen); | 241 | content = (char*)malloc(pktlen); |
| 242 | if (!content) { | 242 | if (!content) { |
| 243 | debug_info("out of memory when allocating %d bytes\n", pktlen); | 243 | debug_info("out of memory when allocating %d bytes", pktlen); |
| 244 | return PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR; | 244 | return PROPERTY_LIST_SERVICE_E_UNKNOWN_ERROR; |
| 245 | } | 245 | } |
| 246 | 246 | ||
| @@ -254,7 +254,7 @@ static property_list_service_error_t internal_plist_receive_timeout(property_lis | |||
| 254 | curlen += bytes; | 254 | curlen += bytes; |
| 255 | } | 255 | } |
| 256 | if (curlen < pktlen) { | 256 | if (curlen < pktlen) { |
| 257 | debug_info("received incomplete packet (%d of %d bytes)\n", curlen, pktlen); | 257 | debug_info("received incomplete packet (%d of %d bytes)", curlen, pktlen); |
| 258 | if (curlen > 0) { | 258 | if (curlen > 0) { |
| 259 | debug_info("incomplete packet following:"); | 259 | debug_info("incomplete packet following:"); |
| 260 | debug_buffer(content, curlen); | 260 | debug_buffer(content, curlen); |
