Fix mistake
This commit is contained in:
parent
ace6e5972b
commit
8e3e195260
2
main.c
2
main.c
@ -708,7 +708,7 @@ void serverssh(int port) {
|
|||||||
//ssh_bind_listen(p_ssh_bind);
|
//ssh_bind_listen(p_ssh_bind);
|
||||||
|
|
||||||
ssh_sock = socket(AF_INET6, SOCK_STREAM, 0);
|
ssh_sock = socket(AF_INET6, SOCK_STREAM, 0);
|
||||||
if (server_socket == -1) {
|
if (ssh_sock == -1) {
|
||||||
fprintf(stderr, "Error starting SSH server.\n");
|
fprintf(stderr, "Error starting SSH server.\n");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user