mirror of
https://github.com/nmap/nmap.git
synced 2025-12-20 06:29:02 +00:00
Add an assert that I am currently able to make fail.
This commit is contained in:
@@ -376,6 +376,8 @@ void iterate_through_event_lists(mspool *nsp) {
|
|||||||
#endif
|
#endif
|
||||||
sd = nsi->sd;
|
sd = nsi->sd;
|
||||||
|
|
||||||
|
assert(sd >= 0);
|
||||||
|
|
||||||
if (FD_ISSET(sd, &sinfo->fds_results_r))
|
if (FD_ISSET(sd, &sinfo->fds_results_r))
|
||||||
evmask |= EV_READ;
|
evmask |= EV_READ;
|
||||||
if (FD_ISSET(sd, &sinfo->fds_results_w))
|
if (FD_ISSET(sd, &sinfo->fds_results_w))
|
||||||
|
|||||||
Reference in New Issue
Block a user