diff options
Diffstat (limited to 'nchan.c')
-rw-r--r-- | nchan.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -451,7 +451,7 @@ chan_shutdown_write(Channel *c) | |||
451 | c->self, c->sock, strerror(errno)); | 451 | c->self, c->sock, strerror(errno)); |
452 | } else { | 452 | } else { |
453 | if (channel_close_fd(&c->wfd) < 0) | 453 | if (channel_close_fd(&c->wfd) < 0) |
454 | log("channel %d: chan_shutdown_write: " | 454 | logit("channel %d: chan_shutdown_write: " |
455 | "close() failed for fd%d: %.100s", | 455 | "close() failed for fd%d: %.100s", |
456 | c->self, c->wfd, strerror(errno)); | 456 | c->self, c->wfd, strerror(errno)); |
457 | } | 457 | } |
@@ -476,7 +476,7 @@ chan_shutdown_read(Channel *c) | |||
476 | strerror(errno)); | 476 | strerror(errno)); |
477 | } else { | 477 | } else { |
478 | if (channel_close_fd(&c->rfd) < 0) | 478 | if (channel_close_fd(&c->rfd) < 0) |
479 | log("channel %d: chan_shutdown_read: " | 479 | logit("channel %d: chan_shutdown_read: " |
480 | "close() failed for fd%d: %.100s", | 480 | "close() failed for fd%d: %.100s", |
481 | c->self, c->rfd, strerror(errno)); | 481 | c->self, c->rfd, strerror(errno)); |
482 | } | 482 | } |