socket: Remove redundant code
Signed-off-by: Tilo Eckert <tilo.eckert@flam.de> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Этот коммит содержится в:
родитель
0b9e07fbdc
Коммит
f369d02932
@ -274,9 +274,6 @@ int ssh_socket_pollcallback(struct ssh_poll_handle_struct *p,
|
||||
return -2;
|
||||
}
|
||||
if (nread == 0) {
|
||||
if (p != NULL) {
|
||||
ssh_poll_remove_events(p, POLLIN);
|
||||
}
|
||||
if (p != NULL) {
|
||||
ssh_poll_remove_events(p, POLLIN);
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user