summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/channels.c b/channels.c
index f4f2c4942..d86cb1f08 100644
--- a/channels.c
+++ b/channels.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: channels.c,v 1.107 2001/04/13 22:46:52 beck Exp $"); 43RCSID("$OpenBSD: channels.c,v 1.108 2001/04/14 16:17:14 markus Exp $");
44 44
45#include <openssl/rsa.h> 45#include <openssl/rsa.h>
46#include <openssl/dsa.h> 46#include <openssl/dsa.h>
@@ -1852,16 +1852,16 @@ channel_find_open()
1852 for (i = 0; i < channels_alloc; i++) 1852 for (i = 0; i < channels_alloc; i++)
1853 switch (channels[i].type) { 1853 switch (channels[i].type) {
1854 case SSH_CHANNEL_CLOSED: 1854 case SSH_CHANNEL_CLOSED:
1855 continue;
1856 case SSH_CHANNEL_LARVAL:
1857 case SSH_CHANNEL_DYNAMIC: 1855 case SSH_CHANNEL_DYNAMIC:
1858 case SSH_CHANNEL_AUTH_SOCKET:
1859 case SSH_CHANNEL_CONNECTING: /* XXX ??? */
1860 case SSH_CHANNEL_FREE: 1856 case SSH_CHANNEL_FREE:
1861 case SSH_CHANNEL_X11_LISTENER: 1857 case SSH_CHANNEL_X11_LISTENER:
1862 case SSH_CHANNEL_PORT_LISTENER: 1858 case SSH_CHANNEL_PORT_LISTENER:
1863 case SSH_CHANNEL_RPORT_LISTENER: 1859 case SSH_CHANNEL_RPORT_LISTENER:
1864 case SSH_CHANNEL_OPENING: 1860 case SSH_CHANNEL_OPENING:
1861 continue;
1862 case SSH_CHANNEL_LARVAL:
1863 case SSH_CHANNEL_AUTH_SOCKET:
1864 case SSH_CHANNEL_CONNECTING: /* XXX ??? */
1865 case SSH_CHANNEL_OPEN: 1865 case SSH_CHANNEL_OPEN:
1866 case SSH_CHANNEL_X11_OPEN: 1866 case SSH_CHANNEL_X11_OPEN:
1867 return i; 1867 return i;