aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/proto/proto_utils.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-09-28 17:22:01 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-09-28 17:22:01 -0700
commit71a0f9d3b02ea51b17581e7b655bb48e85f6e553 (patch)
tree0b434e3aa484cf83ff7b66fb2762c2f0435a833d /src/cpp/proto/proto_utils.cc
parenteff4419b2a33777072cd7846650f552cb7c5e509 (diff)
Fix clang-format script
Diffstat (limited to 'src/cpp/proto/proto_utils.cc')
-rw-r--r--src/cpp/proto/proto_utils.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpp/proto/proto_utils.cc b/src/cpp/proto/proto_utils.cc
index 3c0be58919..4131fbe5e5 100644
--- a/src/cpp/proto/proto_utils.cc
+++ b/src/cpp/proto/proto_utils.cc
@@ -161,7 +161,8 @@ Status SerializeProto(const grpc::protobuf::Message& msg,
int byte_size = msg.ByteSize();
if (byte_size <= kMaxBufferLength) {
gpr_slice slice = gpr_slice_malloc(byte_size);
- GPR_ASSERT(GPR_SLICE_END_PTR(slice) == msg.SerializeWithCachedSizesToArray(GPR_SLICE_START_PTR(slice)));
+ GPR_ASSERT(GPR_SLICE_END_PTR(slice) ==
+ msg.SerializeWithCachedSizesToArray(GPR_SLICE_START_PTR(slice)));
*bp = grpc_raw_byte_buffer_create(&slice, 1);
gpr_slice_unref(slice);
return Status::OK;