diff options
author | 2016-11-16 17:12:55 -0800 | |
---|---|---|
committer | 2016-11-16 17:12:55 -0800 | |
commit | d7f15831c6a4dcd71fe10babde7bb0b380fb1eff (patch) | |
tree | ec9a9ae51e356def3b7b7e63d440286c33ae2cbf /src/core/ext/census | |
parent | 3468fe1a767a19e596e9c3a2f62f18b412b51e5f (diff) |
Tests are starting to compile
Diffstat (limited to 'src/core/ext/census')
-rw-r--r-- | src/core/ext/census/grpc_filter.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/ext/census/grpc_filter.c b/src/core/ext/census/grpc_filter.c index 397dbc40a8..5008879512 100644 --- a/src/core/ext/census/grpc_filter.c +++ b/src/core/ext/census/grpc_filter.c @@ -67,9 +67,7 @@ static void extract_and_annotate_method_tag(grpc_metadata_batch *md, channel_data *chand) { grpc_linked_mdelem *m; for (m = md->list.head; m != NULL; m = m->next) { - if (m->md->key == GRPC_MDSTR_PATH) { - gpr_log(GPR_DEBUG, "%s", - (const char *)GRPC_SLICE_START_PTR(m->md->value->slice)); + if (grpc_slice_cmp(m->md->key, GRPC_MDSTR_PATH) == 0) { /* Add method tag here */ } } |