diff options
author | Craig Tiller <ctiller@google.com> | 2015-08-05 15:24:26 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-08-05 15:24:26 -0700 |
commit | fdbd728a829569c50945908069fd8d9f8e6db3d6 (patch) | |
tree | d94760cb637b332a895788bee92114a569a1fbec /src/core/surface | |
parent | 64f32dc7efe18a6fe75c71b31a36ce523290e70c (diff) |
Rename constants
Diffstat (limited to 'src/core/surface')
-rw-r--r-- | src/core/surface/call.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c index 22a17f892e..7ba1d54a15 100644 --- a/src/core/surface/call.c +++ b/src/core/surface/call.c @@ -374,13 +374,13 @@ grpc_call *grpc_call_create(grpc_channel *channel, grpc_call *parent_call, } /* for now GRPC_PROPAGATE_TRACING_CONTEXT *MUST* be passed with * GRPC_PROPAGATE_STATS_CONTEXT */ - if (propagation_mask & GRPC_PROPAGATE_TRACING_CONTEXT) { - GPR_ASSERT(propagation_mask & GRPC_PROPAGATE_STATS_CONTEXT); + if (propagation_mask & GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT) { + GPR_ASSERT(propagation_mask & GRPC_PROPAGATE_CENSUS_STATS_CONTEXT); grpc_call_context_set(call, GRPC_CONTEXT_TRACING, parent_call->context[GRPC_CONTEXT_TRACING].value, NULL); } else { - GPR_ASSERT(propagation_mask & GRPC_PROPAGATE_STATS_CONTEXT); + GPR_ASSERT(propagation_mask & GRPC_PROPAGATE_CENSUS_STATS_CONTEXT); } if (propagation_mask & GRPC_PROPAGATE_CANCELLATION) { call->cancellation_is_inherited = 1; |