2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

a function pointer is not a valid event sender, but NULL is

This commit is contained in:
Andreas Gustafsson
2000-08-24 19:13:13 +00:00
parent 3cab47dbea
commit 2de4786af7

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: master.c,v 1.62 2000/08/15 03:33:49 marka Exp $ */
/* $Id: master.c,v 1.63 2000/08/24 19:13:13 gson Exp $ */
#include <config.h>
@@ -1484,7 +1484,7 @@ static isc_result_t
task_send(loadctx_t *ctx) {
isc_event_t *event;
event = isc_event_allocate(ctx->mctx, task_send,
event = isc_event_allocate(ctx->mctx, NULL,
DNS_EVENT_MASTERQUANTUM,
load_quantum, ctx, sizeof(*event));
if (event == NULL)