From 8adf19cafd94fe1f466c2c29610903f79af57752 Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Thu, 1 Feb 2018 16:26:02 -0800 Subject: clang-format --- .../filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc | 5 +++-- .../ext/filters/client_channel/resolver/dns/native/dns_resolver.cc | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/core/ext') diff --git a/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc b/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc index 9cca82168f..e5b2815af8 100644 --- a/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +++ b/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc @@ -346,8 +346,9 @@ static void dns_ares_maybe_start_resolving_locked(ares_dns_resolver* r) { if (ms_until_next_resolution > 0) { const grpc_millis last_resolution_ago = grpc_core::ExecCtx::Get()->Now() - r->last_resolution_timestamp; - gpr_log(GPR_DEBUG, "In cooldown from last resolution (from %" PRIdPTR - " ms ago). Will resolve again in %" PRIdPTR " ms", + gpr_log(GPR_DEBUG, + "In cooldown from last resolution (from %" PRIdPTR + " ms ago). Will resolve again in %" PRIdPTR " ms", last_resolution_ago, ms_until_next_resolution); if (!r->have_next_resolution_timer) { r->have_next_resolution_timer = true; diff --git a/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc b/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc index 538e64aa27..2c798188d1 100644 --- a/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc +++ b/src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc @@ -199,8 +199,9 @@ static void maybe_start_resolving_locked(dns_resolver* r) { if (ms_until_next_resolution > 0) { const grpc_millis last_resolution_ago = grpc_core::ExecCtx::Get()->Now() - r->last_resolution_timestamp; - gpr_log(GPR_DEBUG, "In cooldown from last resolution (from %" PRIdPTR - " ms ago). Will resolve again in %" PRIdPTR " ms", + gpr_log(GPR_DEBUG, + "In cooldown from last resolution (from %" PRIdPTR + " ms ago). Will resolve again in %" PRIdPTR " ms", last_resolution_ago, ms_until_next_resolution); if (!r->have_next_resolution_timer) { r->have_next_resolution_timer = true; -- cgit v1.2.3