aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/client
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-20 22:44:10 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-01-20 22:44:10 -0800
commit724b7c693ad96a31cb49a340f05e5c915a9e62d4 (patch)
treedeaa6479b0fada89c2b046eaa0c159acde50af13 /src/cpp/client
parent8379a06f8dddbe99b9f99163111255794eff07b5 (diff)
clang-format
Diffstat (limited to 'src/cpp/client')
-rw-r--r--src/cpp/client/channel.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cpp/client/channel.cc b/src/cpp/client/channel.cc
index 767247cd98..c8b2bb2cf6 100644
--- a/src/cpp/client/channel.cc
+++ b/src/cpp/client/channel.cc
@@ -102,12 +102,12 @@ Status Channel::StartBlockingRpc(const RpcMethod &method,
grpc_call *call = grpc_channel_create_call(
c_channel_, method.name(), target_.c_str(), context->RawDeadline());
context->set_call(call);
- grpc_event* ev;
- void* finished_tag = reinterpret_cast<char*>(call);
- void* metadata_read_tag = reinterpret_cast<char*>(call) + 2;
- void* write_tag = reinterpret_cast<char*>(call) + 3;
- void* halfclose_tag = reinterpret_cast<char*>(call) + 4;
- void* read_tag = reinterpret_cast<char*>(call) + 5;
+ grpc_event *ev;
+ void *finished_tag = reinterpret_cast<char *>(call);
+ void *metadata_read_tag = reinterpret_cast<char *>(call) + 2;
+ void *write_tag = reinterpret_cast<char *>(call) + 3;
+ void *halfclose_tag = reinterpret_cast<char *>(call) + 4;
+ void *read_tag = reinterpret_cast<char *>(call) + 5;
grpc_completion_queue *cq = grpc_completion_queue_create();
context->set_cq(cq);
@@ -117,7 +117,7 @@ Status Channel::StartBlockingRpc(const RpcMethod &method,
GPR_ASSERT(grpc_call_invoke(call, cq, metadata_read_tag, finished_tag,
GRPC_WRITE_BUFFER_HINT) == GRPC_CALL_OK);
// write request
- grpc_byte_buffer* write_buffer = nullptr;
+ grpc_byte_buffer *write_buffer = nullptr;
bool success = SerializeProto(request, &write_buffer);
if (!success) {
grpc_call_cancel(call);