From 0ff68b92c7d675c16ff592e17cb19e5dfe023585 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 7 Aug 2016 12:01:50 +1000 Subject: [PATCH] fix function names --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index f69545f..9c15da4 100644 --- a/main.c +++ b/main.c @@ -528,11 +528,11 @@ void serverssh(int port) { if (ssh_message_type(message) == SSH_REQUEST_CHANNEL) { if (ssh_message_subtype(message) == SSH_CHANNEL_REQUEST_SHELL) { shell = 1; - ssh_channel_request_reply_success(message); + ssh_message_channel_request_reply_success(message); ssh_message_free(message); break; } else if (ssh_message_subtype(message) == SSH_CHANNEL_REQUEST_PTY) { - ssh_channel_request_reply_success(message); + ssh_message_channel_request_reply_success(message); ssh_message_free(message); continue; }