mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Remove dead code: einfo->evlen cannot be zero.
This commit is contained in:
parent
febc009a13
commit
7b02dea019
1 changed files with 1 additions and 5 deletions
|
|
@ -297,11 +297,7 @@ int epoll_loop(struct npool *nsp, int msec_timeout) {
|
|||
#endif
|
||||
#endif
|
||||
{
|
||||
if (einfo->evlen)
|
||||
results_left = epoll_wait(einfo->epfd, einfo->events, einfo->evlen, combined_msecs);
|
||||
else
|
||||
results_left = 0;
|
||||
|
||||
results_left = epoll_wait(einfo->epfd, einfo->events, einfo->evlen, combined_msecs);
|
||||
if (results_left == -1)
|
||||
sock_err = socket_errno();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue