mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 19:59:59 -04:00
Fix using unset pointer when printing a debug message in dighost.c
The used `query->handle` is always `NULL` at this point. Change the code to use `handle` instead.
This commit is contained in:
parent
2771a5b64d
commit
5b2b3e589c
1 changed files with 1 additions and 1 deletions
|
|
@ -3135,7 +3135,7 @@ udp_ready(isc_nmhandle_t *handle, isc_result_t eresult, void *arg) {
|
|||
query_attach(query, &readquery);
|
||||
|
||||
debug("recving with lookup=%p, query=%p, handle=%p", query->lookup,
|
||||
query, query->handle);
|
||||
query, handle);
|
||||
|
||||
query->handle = handle;
|
||||
isc_nmhandle_attach(handle, &query->readhandle);
|
||||
|
|
|
|||
Loading…
Reference in a new issue