summaryrefslogtreecommitdiff
path: root/nchan.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-11-11 16:32:25 +1100
committerDarren Tucker <dtucker@zip.com.au>2008-11-11 16:32:25 +1100
commitb57fab6b0b7b30d279bea89409a684b2793fd924 (patch)
tree39ed8ce44d52d516466fe496fa2652b2094e0f7f /nchan.c
parente15fb09847aca6ffaed30eb443e97d82930d509c (diff)
- stevesk@cvs.openbsd.org 2008/11/07 18:50:18
[nchan.c] add space to some log/debug messages for readability; ok djm@ markus@
Diffstat (limited to 'nchan.c')
-rw-r--r--nchan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nchan.c b/nchan.c
index b78d6a76..160445e5 100644
--- a/nchan.c
+++ b/nchan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nchan.c,v 1.61 2008/09/11 14:22:37 markus Exp $ */
+/* $OpenBSD: nchan.c,v 1.62 2008/11/07 18:50:18 stevesk Exp $ */
/*
* Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved.
*
@@ -486,12 +486,12 @@ chan_shutdown_write(Channel *c)
if (c->sock != -1) {
if (shutdown(c->sock, SHUT_WR) < 0)
debug2("channel %d: chan_shutdown_write: "
- "shutdown() failed for fd%d: %.100s",
+ "shutdown() failed for fd %d: %.100s",
c->self, c->sock, strerror(errno));
} else {
if (channel_close_fd(&c->wfd) < 0)
logit("channel %d: chan_shutdown_write: "
- "close() failed for fd%d: %.100s",
+ "close() failed for fd %d: %.100s",
c->self, c->wfd, strerror(errno));
}
}
@@ -510,13 +510,13 @@ chan_shutdown_read(Channel *c)
if (shutdown(c->sock, SHUT_RD) < 0
&& errno != ENOTCONN)
error("channel %d: chan_shutdown_read: "
- "shutdown() failed for fd%d [i%d o%d]: %.100s",
+ "shutdown() failed for fd %d [i%d o%d]: %.100s",
c->self, c->sock, c->istate, c->ostate,
strerror(errno));
} else {
if (channel_close_fd(&c->rfd) < 0)
logit("channel %d: chan_shutdown_read: "
- "close() failed for fd%d: %.100s",
+ "close() failed for fd %d: %.100s",
c->self, c->rfd, strerror(errno));
}
}