aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorNils Schneider <nils.schneider@gmail.com>2011-09-17 21:36:58 +0200
committerNils Schneider <nils.schneider@gmail.com>2011-09-17 21:36:58 +0200
commite674680ddd17382e0605472385e1bd5d0cf4e502 (patch)
tree7b493cdcb371320ac1b039f2b975be5bbfe739ee /src/net.h
parent59090133c0ffae33a4f5a186567ba6a514d2c11b (diff)
missed printf in AbortMessage(); merged printfs in EndMessage
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index a8356eade1..0026e402c2 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;