From 8c08b062d0a1bebd7b9397036ea1b11b51577647 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sat, 17 Jul 2010 23:51:15 +0200 Subject: Fixed channel opening failures (infinite loop) --- libssh/channels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libssh/channels.c b/libssh/channels.c index 06149ef..e372b41 100644 --- a/libssh/channels.c +++ b/libssh/channels.c @@ -201,7 +201,7 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open_fail){ (long unsigned int) ntohl(code), error); SAFE_FREE(error); - + channel->state=SSH_CHANNEL_STATE_OPEN_DENIED; return SSH_PACKET_USED; } -- cgit