1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 14:39:02 +00:00

Removed occurences of `assert(0);'

Replaced them with `fatal()' so that nsock can compile w/ NDEBUG.
This commit is contained in:
henri
2013-07-31 18:46:57 +00:00
parent 8572c85d0b
commit 098c64a1de
2 changed files with 14 additions and 18 deletions

View File

@@ -286,7 +286,7 @@ int msevent_cancel(mspool *nsp, msevent *nse, gh_list *event_list, gh_list_elem
#endif
default:
assert(0);
fatal("Invalid nsock event type (%d)", nse->type);
}
assert(nse->event_done);