aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-11-22 14:54:10 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-11-22 14:54:10 -0800
commitb0f3bca0ef9ee8c1ea6bb2bde7281a1df5914216 (patch)
tree6fc1fcbbd883b7fe550d92a8f3c58fc3d80dc29f /src/cpp
parenta7d37a371a965470c917ccf50eb858f66bcc6eaa (diff)
Everything compiles...
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/common/channel_filter.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpp/common/channel_filter.cc b/src/cpp/common/channel_filter.cc
index 9aeb942f59..35cd6ca647 100644
--- a/src/cpp/common/channel_filter.cc
+++ b/src/cpp/common/channel_filter.cc
@@ -49,7 +49,8 @@ grpc_linked_mdelem *MetadataBatch::AddMetadata(grpc_exec_ctx *exec_ctx,
memset(storage, 0, sizeof(grpc_linked_mdelem));
storage->md = grpc_mdelem_from_slices(exec_ctx, SliceFromCopiedString(key),
SliceFromCopiedString(value));
- grpc_metadata_batch_link_head(batch_, storage);
+ GRPC_LOG_IF_ERROR("MetadataBatch::AddMetadata",
+ grpc_metadata_batch_link_head(batch_, storage));
return storage;
}