event->sender was bogus pointer

This commit is contained in:
Andreas Gustafsson
1999-07-30 13:33:47 +00:00
parent 57cf89b149
commit 5195f93199

View File

@@ -183,7 +183,7 @@ dns_tcpmsg_readmessage(dns_tcpmsg_t *tcpmsg,
tcpmsg->result = ISC_R_UNEXPECTED; /* unknown right now */
ISC_EVENT_INIT(&tcpmsg->event, sizeof(isc_event_t), 0, 0,
DNS_EVENT_TCPMSG, action, arg, &tcpmsg,
DNS_EVENT_TCPMSG, action, arg, tcpmsg,
NULL, NULL);
region.base = (unsigned char *)&tcpmsg->size;