diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2004-06-18 11:11:55 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2004-06-18 11:11:55 +0000 |
commit | 57fe5f8273f635c8ba87ac7a09a7ad87d5f78853 (patch) | |
tree | 7b08aa1da6a862305bd63be31bfbe53d294d3b42 /usr.bin/ssh/channels.c | |
parent | 26622780bebe358449311220fee087d5499c96fe (diff) |
clientloop.c
Diffstat (limited to 'usr.bin/ssh/channels.c')
-rw-r--r-- | usr.bin/ssh/channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 1a39dcffb20..460624c2170 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: channels.c,v 1.205 2004/06/14 01:44:38 djm Exp $"); +RCSID("$OpenBSD: channels.c,v 1.206 2004/06/18 11:11:54 djm Exp $"); #include "ssh.h" #include "ssh1.h" @@ -486,7 +486,7 @@ channel_find_open(void) for (i = 0; i < channels_alloc; i++) { c = channels[i]; - if (c == NULL) + if (c == NULL || c->remote_id < 0) continue; switch (c->type) { case SSH_CHANNEL_CLOSED: |