Fixed wrong sign for dns timeout debug msg

pull/8569/head
David Garcia Quintas 8 years ago
parent de76cdbcb8
commit 8c2e8b44b9
  1. 2
      src/core/ext/resolver/dns/native/dns_resolver.c

@ -190,7 +190,7 @@ static void dns_on_resolved(grpc_exec_ctx *exec_ctx, void *arg,
GPR_ASSERT(!r->have_retry_timer);
r->have_retry_timer = true;
GRPC_RESOLVER_REF(&r->base, "retry-timer");
if (gpr_time_cmp(timeout, gpr_time_0(timeout.clock_type)) <= 0) {
if (gpr_time_cmp(timeout, gpr_time_0(timeout.clock_type)) > 0) {
gpr_log(GPR_DEBUG, "retrying in %" PRId64 ".%09d seconds", timeout.tv_sec,
timeout.tv_nsec);
} else {

Loading…
Cancel
Save