reviewable/pr16488/r2
Hope Casey-Allen 6 years ago
parent 97cbec1c98
commit 7c368ce71b
  1. 3
      src/core/lib/transport/metadata_batch.cc

@ -486,7 +486,8 @@ void grpc_metadata_batch_copy(grpc_metadata_batch* src,
elem = elem->next) {
grpc_error* error = nullptr;
if (is_mdelem_index_used(elem->md_index)) {
error = grpc_metadata_batch_add_tail_index(dst, &storage[i++], elem->md_index);
error = grpc_metadata_batch_add_tail_index(dst, &storage[i++],
elem->md_index);
} else {
error = grpc_metadata_batch_add_tail(dst, &storage[i++],
GRPC_MDELEM_REF(elem->md));

Loading…
Cancel
Save