version 1.24, 2001/05/04 23:47:34 |
version 1.25, 2001/05/16 22:09:21 |
|
|
if (close(c->wfd) < 0) |
if (close(c->wfd) < 0) |
log("channel %d: chan_shutdown_write: close() failed for fd%d: %.100s", |
log("channel %d: chan_shutdown_write: close() failed for fd%d: %.100s", |
c->self, c->wfd, strerror(errno)); |
c->self, c->wfd, strerror(errno)); |
c->wfd = -1; |
|
} |
} |
} |
} |
static void |
static void |
|
|
if (close(c->rfd) < 0) |
if (close(c->rfd) < 0) |
log("channel %d: chan_shutdown_read: close() failed for fd%d: %.100s", |
log("channel %d: chan_shutdown_read: close() failed for fd%d: %.100s", |
c->self, c->rfd, strerror(errno)); |
c->self, c->rfd, strerror(errno)); |
c->rfd = -1; |
|
} |
} |
} |
} |