diff options
author | David Garcia Quintas <dgq@google.com> | 2018-02-01 16:26:02 -0800 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2018-02-01 16:26:02 -0800 |
commit | 8adf19cafd94fe1f466c2c29610903f79af57752 (patch) | |
tree | a0f1dbbf25bcc656c1f3f75b4d8242d02ac45f73 /src | |
parent | 64d02bac04be2d33bad51f2f335ff85fd2bea91c (diff) |
clang-format
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc | 5 | ||||
-rw-r--r-- | src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc | 5 |
2 files changed, 6 insertions, 4 deletions
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; |