mirror of
https://github.com/nmap/nmap.git
synced 2026-06-25 10:38:02 +00:00
Add an assert that I am currently able to make fail.
This commit is contained in:
parent
71ff95ae66
commit
4a541fc367
1 changed files with 2 additions and 0 deletions
|
|
@ -376,6 +376,8 @@ void iterate_through_event_lists(mspool *nsp) {
|
|||
#endif
|
||||
sd = nsi->sd;
|
||||
|
||||
assert(sd >= 0);
|
||||
|
||||
if (FD_ISSET(sd, &sinfo->fds_results_r))
|
||||
evmask |= EV_READ;
|
||||
if (FD_ISSET(sd, &sinfo->fds_results_w))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue