aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
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;