Commit baa9d706 authored by Mark Andrews's avatar Mark Andrews
Browse files

move declaration to begining of block

parent cc74f3ad
......@@ -803,6 +803,7 @@ static void
fctx_cancelquery(resquery_t **queryp, dns_dispatchevent_t **deventp,
isc_time_t *finish, isc_boolean_t no_response)
{
char addrbuf[ISC_SOCKADDR_FORMATSIZE];
fetchctx_t *fctx;
resquery_t *query;
unsigned int rtt, rttms;
......@@ -820,7 +821,6 @@ fctx_cancelquery(resquery_t **queryp, dns_dispatchevent_t **deventp,
query->attributes |= RESQUERY_ATTR_CANCELED;
char addrbuf[ISC_SOCKADDR_FORMATSIZE];
isc_sockaddr_format(&query->addrinfo->sockaddr,
addrbuf, sizeof(addrbuf));
......
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