From debfd1f3a3c1829ae9a762588463ad7ec1b78abd Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 29 Jul 2009 16:32:27 +0200 Subject: Fix build errors in new messages functions. Signed-off-by: Andreas Schneider --- libssh/messages.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libssh/messages.c') diff --git a/libssh/messages.c b/libssh/messages.c index e5ddeab..b20aef0 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); -- cgit