diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-07-29 16:32:27 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-07-29 18:42:05 +0200 |
commit | debfd1f3a3c1829ae9a762588463ad7ec1b78abd (patch) | |
tree | f4f6da42aa19c52a1b15aabcc3403c68b18f229e /libssh/messages.c | |
parent | 4f70cc13e2aa28657e40f91dfcf03dd9c82a41e9 (diff) | |
download | libssh-debfd1f3a3c1829ae9a762588463ad7ec1b78abd.tar.gz libssh-debfd1f3a3c1829ae9a762588463ad7ec1b78abd.tar.xz libssh-debfd1f3a3c1829ae9a762588463ad7ec1b78abd.zip |
Fix build errors in new messages functions.
Signed-off-by: Andreas Schneider <mail@cynapses.org>
Diffstat (limited to 'libssh/messages.c')
-rw-r--r-- | libssh/messages.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libssh/messages.c b/libssh/messages.c index e5ddeab7..b20aef00 100644 --- a/libssh/messages.c +++ b/libssh/messages.c @@ -425,7 +425,7 @@ int ssh_message_auth_reply_pk_ok(SSH_MESSAGE *msg, ssh_string algo, ssh_string p static SSH_MESSAGE *handle_channel_request_open(SSH_SESSION *session) { SSH_MESSAGE *msg = NULL; - ssh_string type = NULL, *originator = NULL, *destination = NULL; + ssh_string type = NULL, originator = NULL, destination = NULL; char *type_c = NULL; uint32_t sender, window, packet, originator_port, destination_port; @@ -734,7 +734,6 @@ static SSH_MESSAGE *handle_channel_request(SSH_SESSION *session) { } if (strcmp(type_c, "window-change") == 0) { - STRING *term = NULL; SAFE_FREE(type_c); msg->channel_request.type = SSH_CHANNEL_REQUEST_WINDOW_CHANGE; @@ -808,8 +807,8 @@ static SSH_MESSAGE *handle_channel_request(SSH_SESSION *session) { } if (strcmp(type_c, "env") == 0) { - STRING *name = NULL; - STRING *value = NULL; + ssh_string name = NULL; + ssh_string value = NULL; SAFE_FREE(type_c); |