mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 18:52:07 -04:00
remove redundant isc_sockaddr_format call
This commit is contained in:
parent
cd14665cdf
commit
291c0dfbc9
1 changed files with 0 additions and 4 deletions
|
|
@ -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?
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue