summaryrefslogtreecommitdiff
path: root/nchan.c
diff options
context:
space:
mode:
Diffstat (limited to 'nchan.c')
-rw-r--r--nchan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nchan.c b/nchan.c
index d049a945a..6c347203d 100644
--- a/nchan.c
+++ b/nchan.c
@@ -481,7 +481,7 @@ chan_shutdown_read(Channel *c)
481 return; 481 return;
482 debug("channel %d: close_read", c->self); 482 debug("channel %d: close_read", c->self);
483 if (c->sock != -1) { 483 if (c->sock != -1) {
484 /* 484 /*
485 * shutdown(sock, SHUT_READ) may return ENOTCONN if the 485 * shutdown(sock, SHUT_READ) may return ENOTCONN if the
486 * write side has been closed already. (bug on Linux) 486 * write side has been closed already. (bug on Linux)
487 */ 487 */