mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: query.c,v 1.257 2004/03/10 02:19:52 marka Exp $ */
|
||||
/* $Id: query.c,v 1.258 2004/04/15 01:58:23 marka Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -3276,7 +3276,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
|
||||
dns_db_detach(&zdb);
|
||||
}
|
||||
if (event != NULL)
|
||||
isc_event_free((isc_event_t **) (void*)&event);
|
||||
isc_event_free(ISC_EVENT_PTR(&event));
|
||||
|
||||
/*
|
||||
* AA bit.
|
||||
|
Reference in New Issue
Block a user