fix for a fix

This commit is contained in:
Andrew Pamment 2016-08-07 10:07:32 +10:00
parent 3525de4075
commit 1b159fd3db

2
main.c
View File

@ -557,7 +557,7 @@ void serverssh(int port) {
free(ip); free(ip);
ssh_cb.userdata = &fd; ssh_cb.userdata = &fd;
ssh_callbacks_init(&ssh_cb); ssh_callbacks_init(&ssh_cb);
ssh_set_channel_callbacks(chan, &cb); ssh_set_channel_callbacks(chan, &ssh_cb);
events = POLLIN | POLLPRI | POLLERR | POLLHUP | POLLNVAL; events = POLLIN | POLLPRI | POLLERR | POLLHUP | POLLNVAL;