fix for a fix
This commit is contained in:
parent
3525de4075
commit
1b159fd3db
2
main.c
2
main.c
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user