diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-05-17 03:21:27 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-05-17 03:21:27 +0000 |
commit | b6147ab9e986c698f2a9a5e099a7ed199333cb94 (patch) | |
tree | e4662bf82eb137c92a6a0024b281e472047430fd /nchan.c | |
parent | c8b3f476765c2f24cb50462e397262028fc28a2e (diff) |
- markus@cvs.openbsd.org 2001/05/16 22:09:21
[channels.c nchan.c]
more select() error fixes (don't set rfd/wfd to -1).
Diffstat (limited to 'nchan.c')
-rw-r--r-- | nchan.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: nchan.c,v 1.24 2001/05/04 23:47:34 markus Exp $"); +RCSID("$OpenBSD: nchan.c,v 1.25 2001/05/16 22:09:21 markus Exp $"); #include "ssh1.h" #include "ssh2.h" @@ -484,7 +484,6 @@ chan_shutdown_write(Channel *c) if (close(c->wfd) < 0) log("channel %d: chan_shutdown_write: close() failed for fd%d: %.100s", c->self, c->wfd, strerror(errno)); - c->wfd = -1; } } static void @@ -507,6 +506,5 @@ chan_shutdown_read(Channel *c) if (close(c->rfd) < 0) log("channel %d: chan_shutdown_read: close() failed for fd%d: %.100s", c->self, c->rfd, strerror(errno)); - c->rfd = -1; } } |