2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Setting event->ev_sender to a bogus non-null value is no longer necessary.

This commit is contained in:
Brian Wellington 2000-08-25 18:58:35 +00:00
parent cdc2d4a065
commit 960d37edc3

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: app.c,v 1.23 2000/08/01 01:31:11 tale Exp $ */ /* $Id: app.c,v 1.24 2000/08/25 18:58:35 bwelling Exp $ */
#include <config.h> #include <config.h>
@ -275,7 +275,7 @@ isc_app_run(void) {
next_event = ISC_LIST_NEXT(event, ev_link); next_event = ISC_LIST_NEXT(event, ev_link);
ISC_LIST_UNLINK(on_run, event, ev_link); ISC_LIST_UNLINK(on_run, event, ev_link);
task = event->ev_sender; task = event->ev_sender;
event->ev_sender = (void *)&running; event->ev_sender = NULL;
isc_task_sendanddetach(&task, &event); isc_task_sendanddetach(&task, &event);
} }