diff options
author | Nils Schneider <nils.schneider@gmail.com> | 2011-09-17 21:36:58 +0200 |
---|---|---|
committer | Nils Schneider <nils.schneider@gmail.com> | 2011-09-17 21:36:58 +0200 |
commit | e674680ddd17382e0605472385e1bd5d0cf4e502 (patch) | |
tree | 7b493cdcb371320ac1b039f2b975be5bbfe739ee /src/net.h | |
parent | 59090133c0ffae33a4f5a186567ba6a514d2c11b (diff) |
missed printf in AbortMessage(); merged printfs in EndMessage
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; |