Commit 960d37ed authored by Brian Wellington's avatar Brian Wellington
Browse files

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

parent cdc2d4a0
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment