We do not need to specially remove a timeout before calling event_del; patch from Christopher Layne.

svn:r519
This commit is contained in:
Niels Provos 2007-11-12 06:54:35 +00:00
parent 568095bfa1
commit 3742868ab5
2 changed files with 1 additions and 1 deletions

View File

@ -49,3 +49,4 @@ Changes in current version:
o Remove a bash-ism in autogen.sh
o When calling event_del on a signal, restore the signal handler's previous value rather than setting it to SIG_DFL. Patch from Christopher Layne.
o Make the logic for active events work better with internal events; patch from Christopher Layne.
o We do not need to specially remove a timeout before calling event_del; patch from Christopher Layne.

View File

@ -815,7 +815,6 @@ timeout_process(struct event_base *base)
while ((ev = min_heap_top(&base->timeheap))) {
if (evutil_timercmp(&ev->ev_timeout, &now, >))
break;
event_queue_remove(base, ev, EVLIST_TIMEOUT);
/* delete this event from the I/O queues */
event_del(ev);