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:
parent
cdc2d4a065
commit
960d37edc3
@ -15,7 +15,7 @@
|
||||
* 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>
|
||||
|
||||
@ -275,7 +275,7 @@ isc_app_run(void) {
|
||||
next_event = ISC_LIST_NEXT(event, ev_link);
|
||||
ISC_LIST_UNLINK(on_run, event, ev_link);
|
||||
task = event->ev_sender;
|
||||
event->ev_sender = (void *)&running;
|
||||
event->ev_sender = NULL;
|
||||
isc_task_sendanddetach(&task, &event);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user