diff options
| author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-07-17 23:51:15 +0200 |
|---|---|---|
| committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-07-17 23:51:15 +0200 |
| commit | 8c08b062d0a1bebd7b9397036ea1b11b51577647 (patch) | |
| tree | 4b90acd0b477be2923396c485040497a41b72d1c /libssh | |
| parent | 96b06e8bb430342a416d0b31bf3554e52298a78f (diff) | |
| download | libssh-8c08b062d0a1bebd7b9397036ea1b11b51577647.tar.gz libssh-8c08b062d0a1bebd7b9397036ea1b11b51577647.tar.xz libssh-8c08b062d0a1bebd7b9397036ea1b11b51577647.zip | |
Fixed channel opening failures (infinite loop)
Diffstat (limited to 'libssh')
| -rw-r--r-- | libssh/channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/channels.c b/libssh/channels.c index 06149efb..e372b41d 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; } |
