aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-02-03 09:44:27 -0800
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-02-03 09:44:27 -0800
commit4aadcb4ebf503b50cf55a91f2cdd113c6e0d92da (patch)
treeb8844a9722badd6f961f82849415d1031f2482b5 /test/cpp/end2end
parent9bc6fa0a40edb9014922e579346a6fce888303d2 (diff)
Run tools/distrib/clang_format_code.sh
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r--test/cpp/end2end/test_service_impl.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/cpp/end2end/test_service_impl.cc b/test/cpp/end2end/test_service_impl.cc
index ac97cb435c..66d11d0dfc 100644
--- a/test/cpp/end2end/test_service_impl.cc
+++ b/test/cpp/end2end/test_service_impl.cc
@@ -127,9 +127,10 @@ Status TestServiceImpl::Echo(ServerContext* context, const EchoRequest* request,
if (request->has_param() && request->param().echo_metadata()) {
const std::multimap<grpc::string_ref, grpc::string_ref>& client_metadata =
context->client_metadata();
- for (std::multimap<grpc::string_ref, grpc::string_ref>::const_iterator
- iter = client_metadata.begin();
- iter != client_metadata.end(); ++iter) {
+ for (
+ std::multimap<grpc::string_ref, grpc::string_ref>::const_iterator iter =
+ client_metadata.begin();
+ iter != client_metadata.end(); ++iter) {
context->AddTrailingMetadata(ToString(iter->first),
ToString(iter->second));
}