From b00e2ad40e775049f4691f670196a1f5fea5cb6a Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 18 Nov 2009 20:54:39 +0100 Subject: Fix compile bug introduced by another bugfix --- libssh/messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh/messages.c') diff --git a/libssh/messages.c b/libssh/messages.c index 0a5295a..2b60dfd 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; -- cgit