aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/security
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-06-02 08:41:18 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-06-02 08:41:18 -0700
commit573acec7d4b250e68b1d7940206e189a65e4fbe6 (patch)
treea85100f0baaafb3e15785fba5db876db94b9191c /test/core/security
parent6828a78c092d422fdb1c3b0550e22656d6cc3f77 (diff)
Fix flipped condition
Diffstat (limited to 'test/core/security')
-rw-r--r--test/core/security/oauth2_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/security/oauth2_utils.c b/test/core/security/oauth2_utils.c
index c92850d681..7571267efa 100644
--- a/test/core/security/oauth2_utils.c
+++ b/test/core/security/oauth2_utils.c
@@ -99,7 +99,7 @@ char *grpc_test_fetch_oauth2_token_with_credentials(
gpr_mu_lock(request.mu);
while (!request.is_done) {
grpc_pollset_worker *worker = NULL;
- if (GRPC_LOG_IF_ERROR(
+ if (!GRPC_LOG_IF_ERROR(
"pollset_work",
grpc_pollset_work(&exec_ctx, request.pollset, &worker,
gpr_now(GPR_CLOCK_MONOTONIC),