1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-19 05:59:01 +00:00

Add an assert that I am currently able to make fail.

This commit is contained in:
david
2012-04-05 01:37:59 +00:00
parent 71ff95ae66
commit 4a541fc367

View File

@@ -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))