[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] channels: allow channel_open() to return SSH_AGAIN
[Thread Prev] | [Thread Next]
- Subject: Re: [PATCH 1/2] channels: allow channel_open() to return SSH_AGAIN
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 25 Jul 2013 22:39:44 +0200
- To: libssh@xxxxxxxxxx
On Monday 10 June 2013 04:40:45 Nicolas Viennot wrote: > Signed-off-by: Nicolas Viennot <nicolas@xxxxxxxxxxx> > --- > src/channels.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/channels.c b/src/channels.c > index 6e9b2eb..902e04b 100644 > --- a/src/channels.c > +++ b/src/channels.c > @@ -314,7 +314,7 @@ static int channel_open(ssh_channel channel, const char > *type_c, int window, pending: > /* wait until channel is opened by server */ > err = ssh_handle_packets_termination(session, SSH_TIMEOUT_USER, > ssh_channel_open_termination, channel); - if (err != SSH_OK || > session->session_state == SSH_SESSION_STATE_ERROR) + if > (session->session_state == SSH_SESSION_STATE_ERROR) > err = SSH_ERROR; > end: > if(channel->state == SSH_CHANNEL_STATE_OPEN) Both patches look fine. They are in master now. Thanks for your contributions! -- andreas -- Andreas Schneider GPG-ID: F33E3FC6 www.cryptomilk.org asn@xxxxxxxxxxxxxx
Archive administrator: postmaster@lists.cynapses.org