summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-10-30 11:39:56 +1000
committerDamien Miller <djm@mindrot.org>1999-10-30 11:39:56 +1000
commit1e4772c32c109e6c69291335ad49350e7762785d (patch)
tree1a9224ff01d028a4b9f12a477ccf447624fca96f /channels.c
parent5ffa64478a963426a1ab92a7b74b87d3ae79ba53 (diff)
Merged latest OpenBSD changes:
nchan.ms -\ channels.[ch] - remove broken x11 fix and document istate/ostate ssh-agent.c - call setsid() regardless of argv[] ssh.c - save a few lines when disabling rhosts-{rsa-}auth
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/channels.c b/channels.c
index 29a842fcf..79a02c88b 100644
--- a/channels.c
+++ b/channels.c
@@ -16,7 +16,7 @@ arbitrary tcp/ip connections, and the authentication agent connection.
16*/ 16*/
17 17
18#include "includes.h" 18#include "includes.h"
19RCSID("$Id: channels.c,v 1.2 1999/10/28 05:23:30 damien Exp $"); 19RCSID("$Id: channels.c,v 1.3 1999/10/30 01:39:56 damien Exp $");
20 20
21#include "ssh.h" 21#include "ssh.h"
22#include "packet.h" 22#include "packet.h"
@@ -155,7 +155,6 @@ int channel_allocate(int type, int sock, char *remote_name)
155 chan_init_iostates(c); 155 chan_init_iostates(c);
156 c->self = found; 156 c->self = found;
157 c->type = type; 157 c->type = type;
158 c->x11 = 0;
159 c->sock = sock; 158 c->sock = sock;
160 c->remote_id = -1; 159 c->remote_id = -1;
161 c->remote_name = remote_name; 160 c->remote_name = remote_name;
@@ -316,8 +315,6 @@ void channel_prepare_select(fd_set *readset, fd_set *writeset)
316 315
317 /* Start normal processing for the channel. */ 316 /* Start normal processing for the channel. */
318 ch->type = SSH_CHANNEL_OPEN; 317 ch->type = SSH_CHANNEL_OPEN;
319 /* Enable X11 Problem FIX */
320 ch->x11 = 1;
321 goto redo; 318 goto redo;
322 319
323 reject: 320 reject: