remove redundant isc_sockaddr_format call
This commit is contained in:
@@ -816,7 +816,6 @@ 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;
|
||||
@@ -835,9 +834,6 @@ fctx_cancelquery(resquery_t **queryp, dns_dispatchevent_t **deventp,
|
||||
|
||||
query->attributes |= RESQUERY_ATTR_CANCELED;
|
||||
|
||||
isc_sockaddr_format(&query->addrinfo->sockaddr,
|
||||
addrbuf, sizeof(addrbuf));
|
||||
|
||||
/*
|
||||
* Should we update the RTT?
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user