mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 18:50:28 +09:00
socket: Remove redundant code
Signed-off-by: Tilo Eckert <tilo.eckert@flam.de>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit f369d02932)
This commit is contained in:
committed by
Andreas Schneider
parent
709c48eab6
commit
fe0331cf40
@@ -274,9 +274,6 @@ int ssh_socket_pollcallback(struct ssh_poll_handle_struct *p,
|
|||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
if (nread == 0) {
|
if (nread == 0) {
|
||||||
if (p != NULL) {
|
|
||||||
ssh_poll_remove_events(p, POLLIN);
|
|
||||||
}
|
|
||||||
if (p != NULL) {
|
if (p != NULL) {
|
||||||
ssh_poll_remove_events(p, POLLIN);
|
ssh_poll_remove_events(p, POLLIN);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user