aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport
diff options
context:
space:
mode:
authorGravatar Hope Casey-Allen <hcaseyal@google.com>2018-09-06 13:44:51 -0700
committerGravatar Hope Casey-Allen <hcaseyal@google.com>2018-09-06 14:11:07 -0700
commit33d87e3ffdedaef7c3d1a7a466d3a69fa51b23d1 (patch)
tree8e8742dc9fdfd720fd3d81b9419ac067f185c84f /src/core/lib/transport
parent8a8ed0e7115a4c21fbdd40968d688faaba379f2c (diff)
Fix internal_data to be the same size as the new grpc_linked_mdelem
Diffstat (limited to 'src/core/lib/transport')
-rw-r--r--src/core/lib/transport/metadata_batch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/transport/metadata_batch.cc b/src/core/lib/transport/metadata_batch.cc
index 604ace5751..304a5d510d 100644
--- a/src/core/lib/transport/metadata_batch.cc
+++ b/src/core/lib/transport/metadata_batch.cc
@@ -151,7 +151,7 @@ static void assert_valid_callouts(grpc_metadata_batch* batch) {
grpc_metadata_batch_callouts_index callout_idx;
if (is_mdelem_index_used(l->md_index)) {
GPR_ASSERT(is_valid_mdelem_index(l->md_index));
- callout_idx = get_callouts_index(l->md_index);
+ callout_idx = get_callouts_index(l);
if (callout_idx != GRPC_BATCH_CALLOUTS_COUNT) {
GPR_ASSERT(batch->idx.array[callout_idx] == l);
}