From 1b159fd3db878d194b59660e6e4d093af1b89255 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Sun, 7 Aug 2016 10:07:32 +1000 Subject: [PATCH] fix for a fix --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 0e3b7ab..f69545f 100644 --- a/main.c +++ b/main.c @@ -557,7 +557,7 @@ void serverssh(int port) { free(ip); ssh_cb.userdata = &fd; ssh_callbacks_init(&ssh_cb); - ssh_set_channel_callbacks(chan, &cb); + ssh_set_channel_callbacks(chan, &ssh_cb); events = POLLIN | POLLPRI | POLLERR | POLLHUP | POLLNVAL;