version 1.46, 2000/04/06 09:43:15 |
version 1.47, 2000/04/10 15:19:43 |
|
|
if (ret == 1) { |
if (ret == 1) { |
/* Start normal processing for the channel. */ |
/* Start normal processing for the channel. */ |
c->type = SSH_CHANNEL_OPEN; |
c->type = SSH_CHANNEL_OPEN; |
|
channel_pre_open_13(c, readset, writeset); |
} else if (ret == -1) { |
} else if (ret == -1) { |
/* |
/* |
* We have received an X11 connection that has bad |
* We have received an X11 connection that has bad |
|
|
int ret = x11_open_helper(c); |
int ret = x11_open_helper(c); |
if (ret == 1) { |
if (ret == 1) { |
c->type = SSH_CHANNEL_OPEN; |
c->type = SSH_CHANNEL_OPEN; |
|
channel_pre_open_15(c, readset, writeset); |
} else if (ret == -1) { |
} else if (ret == -1) { |
debug("X11 rejected %d i%d/o%d", c->self, c->istate, c->ostate); |
debug("X11 rejected %d i%d/o%d", c->self, c->istate, c->ostate); |
chan_read_failed(c); |
chan_read_failed(c); |