mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 03:11:48 +00:00
Use gh_heap_remove instead of gh_heap_pop when result not needed.
This commit is contained in:
parent
b9bb2ec387
commit
009b63b6a9
1 changed files with 1 additions and 1 deletions
|
|
@ -1214,7 +1214,7 @@ void process_expired_events(struct npool *nsp) {
|
|||
if (!event_timedout(nse))
|
||||
break;
|
||||
|
||||
gh_heap_pop(&nsp->expirables);
|
||||
gh_heap_remove(&nsp->expirables, hnode);
|
||||
process_event(nsp, NULL, nse, EV_NONE);
|
||||
assert(nse->event_done);
|
||||
update_first_events(nse);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue