From e674680ddd17382e0605472385e1bd5d0cf4e502 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sat, 17 Sep 2011 21:36:58 +0200 Subject: [PATCH] missed printf in AbortMessage(); merged printfs in EndMessage --- src/net.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/net.h b/src/net.h index a8356eade..0026e402c 100644 --- a/src/net.h +++ b/src/net.h @@ -296,7 +296,9 @@ public: nHeaderStart = -1; nMessageStart = -1; cs_vSend.Leave(); - printf("(aborted)\n"); + + if (fDebug) + printf("(aborted)\n"); } void EndMessage() @@ -326,8 +328,7 @@ public: } if (fDebug) { - printf("(%d bytes) ", nSize); - printf("\n"); + printf("(%d bytes)\n", nSize); } nHeaderStart = -1;