Fix flipped condition

pull/6897/head
Craig Tiller 9 years ago
parent 6828a78c09
commit 573acec7d4
  1. 2
      test/core/security/oauth2_utils.c

@ -99,7 +99,7 @@ char *grpc_test_fetch_oauth2_token_with_credentials(
gpr_mu_lock(request.mu); gpr_mu_lock(request.mu);
while (!request.is_done) { while (!request.is_done) {
grpc_pollset_worker *worker = NULL; grpc_pollset_worker *worker = NULL;
if (GRPC_LOG_IF_ERROR( if (!GRPC_LOG_IF_ERROR(
"pollset_work", "pollset_work",
grpc_pollset_work(&exec_ctx, request.pollset, &worker, grpc_pollset_work(&exec_ctx, request.pollset, &worker,
gpr_now(GPR_CLOCK_MONOTONIC), gpr_now(GPR_CLOCK_MONOTONIC),

Loading…
Cancel
Save