aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-02-01 10:39:26 -0800
committerGravatar Craig Tiller <ctiller@google.com>2017-02-01 10:39:26 -0800
commitf20d3075e03dc3803511ba5460e173e7514164ca (patch)
tree1ef0c0af30864031dc7091dbc8102ea916e3bb38 /src/core/lib/surface
parent239af8b9fc800f04bde455479c003dcecebee409 (diff)
Fix conditional
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r--src/core/lib/surface/call.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c
index f0135acde8..d64c2410bf 100644
--- a/src/core/lib/surface/call.c
+++ b/src/core/lib/surface/call.c
@@ -320,8 +320,7 @@ grpc_error *grpc_call_create(grpc_exec_ctx *exec_ctx,
grpc_call_context_set(
call, GRPC_CONTEXT_TRACING,
args->parent_call->context[GRPC_CONTEXT_TRACING].value, NULL);
- } else if (0 ==
- (args->propagation_mask & GRPC_PROPAGATE_CENSUS_STATS_CONTEXT)) {
+ } else if (args->propagation_mask & GRPC_PROPAGATE_CENSUS_STATS_CONTEXT) {
add_init_error(&error,
GRPC_ERROR_CREATE("Census context propagation requested "
"without Census tracing propagation"));