aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorMilo Jhoran <milo.jhoran@gmail.com>2010-08-08 02:20:44 +0200
committerAndreas Schneider <asn@cynapses.org>2010-08-10 00:49:24 +0200
commit0c70e80d47185d5d22477332cf34a5e63885a7bb (patch)
tree0faab047d2c35d4ecdd40dfb63b41b8c1caf3509 /libssh
parent5aa4592f0c3e7974c37d4baf5c72958a70e9f136 (diff)
downloadlibssh-0c70e80d47185d5d22477332cf34a5e63885a7bb.tar.gz
libssh-0c70e80d47185d5d22477332cf34a5e63885a7bb.tar.xz
libssh-0c70e80d47185d5d22477332cf34a5e63885a7bb.zip
Fix typos in port forwarding (server side)
Diffstat (limited to 'libssh')
-rw-r--r--libssh/messages.c10
1 files changed, 5 insertions, 5 deletions
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);