From: Nils Schneider Date: Sat, 17 Sep 2011 19:36:58 +0000 (+0200) Subject: missed printf in AbortMessage(); merged printfs in EndMessage X-Git-Tag: v0.4.0-unstable~227^2~5^2 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=e674680ddd17382e0605472385e1bd5d0cf4e502;hp=59090133c0ffae33a4f5a186567ba6a514d2c11b;p=novacoin.git missed printf in AbortMessage(); merged printfs in EndMessage --- diff --git a/src/net.h b/src/net.h index a8356ea..0026e40 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;