From 0c70e80d47185d5d22477332cf34a5e63885a7bb Mon Sep 17 00:00:00 2001 From: Milo Jhoran Date: Sun, 8 Aug 2010 02:20:44 +0200 Subject: Fix typos in port forwarding (server side) --- libssh/messages.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libssh') diff --git a/libssh/messages.c b/libssh/messages.c index 867f9418..2392ffab 100644 --- a/libssh/messages.c +++ b/libssh/messages.c @@ -344,7 +344,7 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open){ ssh_set_error_oom(session); goto error; } - msg->channel_request_open.destination = ssh_string_to_char(type_s); + msg->channel_request_open.destination = ssh_string_to_char(destination); if (msg->channel_request_open.destination == NULL) { ssh_set_error_oom(session); ssh_string_free(destination); @@ -360,7 +360,7 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open){ ssh_set_error_oom(session); goto error; } - msg->channel_request_open.originator = ssh_string_to_char(type_s); + msg->channel_request_open.originator = ssh_string_to_char(originator); if (msg->channel_request_open.originator == NULL) { ssh_set_error_oom(session); ssh_string_free(originator); @@ -381,7 +381,7 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open){ ssh_set_error_oom(session); goto error; } - msg->channel_request_open.destination = ssh_string_to_char(type_s); + msg->channel_request_open.destination = ssh_string_to_char(destination); if (msg->channel_request_open.destination == NULL) { ssh_set_error_oom(session); ssh_string_free(destination); @@ -397,7 +397,7 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open){ ssh_set_error_oom(session); goto error; } - msg->channel_request_open.originator = ssh_string_to_char(type_s); + msg->channel_request_open.originator = ssh_string_to_char(originator); if (msg->channel_request_open.originator == NULL) { ssh_set_error_oom(session); ssh_string_free(originator); @@ -418,7 +418,7 @@ SSH_PACKET_CALLBACK(ssh_packet_channel_open){ ssh_set_error_oom(session); goto error; } - msg->channel_request_open.originator = ssh_string_to_char(type_s); + msg->channel_request_open.originator = ssh_string_to_char(originator); if (msg->channel_request_open.originator == NULL) { ssh_set_error_oom(session); ssh_string_free(originator); -- cgit v1.2.3