summaryrefslogtreecommitdiffstats
path: root/libssh/messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/messages.c')
-rw-r--r--libssh/messages.c2
1 files changed, 1 insertions, 1 deletions
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;