From 8050de72b9910a923959e26cd5cc9e3181ae7761 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Wed, 9 Oct 2013 17:44:11 +0200 Subject: Remove duplicate newline from debug messages as one is added automatically --- src/property_list_service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/property_list_service.c') 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); -- cgit v1.1-32-gdbae