aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-11-18 20:54:39 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2009-11-18 20:54:39 +0100
commitb00e2ad40e775049f4691f670196a1f5fea5cb6a (patch)
tree9509183c2fedfdbc7f7325a605548feb42b5185d
parentca9f42a20f4e10b003eafe0a6f1e78fc3f927797 (diff)
downloadlibssh-b00e2ad40e775049f4691f670196a1f5fea5cb6a.tar.gz
libssh-b00e2ad40e775049f4691f670196a1f5fea5cb6a.tar.xz
libssh-b00e2ad40e775049f4691f670196a1f5fea5cb6a.zip
Fix compile bug introduced by another bugfix
-rw-r--r--libssh/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/messages.c b/libssh/messages.c
index 0a5295a3..2b60dfdd 100644
--- a/libssh/messages.c
+++ b/libssh/messages.c
@@ -548,7 +548,7 @@ static ssh_message handle_channel_request(ssh_session session) {
msg->channel_request.channel = ssh_channel_from_local(session, channel);
if (msg->channel_request.channel == NULL) {
ssh_set_error(session, SSH_FATAL, "There are no channels with the id %u.",
- channels);
+ channel);
goto error;
}
msg->channel_request.want_reply = want_reply;