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

Define nsi_delete() notify modes as enums.

These values aren't flags that can be ORed.
This commit is contained in:
henri
2014-02-03 20:53:09 +00:00
parent 961ea25225
commit d5746993e2
2 changed files with 8 additions and 5 deletions

View File

@@ -170,7 +170,7 @@ int socket_count_zero(msiod *iod, mspool *ms);
* notification to each event), NSOCK_PENDING_SILENT (do not send notification
* to the killed events), or NSOCK_PENDING_ERROR (print an error message and
* quit the program) */
void nsi_delete(nsock_iod nsockiod, int pending_response) {
void nsi_delete(nsock_iod nsockiod, enum nsock_del_mode pending_response) {
msiod *nsi = (msiod *)nsockiod;
gh_lnode_t *evlist_ar[3];
gh_list_t *corresp_list[3];