diff options
author | Yuchen Zeng <zyc@google.com> | 2016-09-27 16:22:35 -0700 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2016-09-27 16:22:35 -0700 |
commit | 15bc4627de675cc148989977e1f6afd3ea3c6755 (patch) | |
tree | 33e504ed6aa7d094c0a40fec34fcbfd21083a964 /test/cpp/util/proto_reflection_descriptor_database.cc | |
parent | e529ea392824db09887f62cc00bbb46329a77003 (diff) |
Rename variables ... again
Diffstat (limited to 'test/cpp/util/proto_reflection_descriptor_database.cc')
-rw-r--r-- | test/cpp/util/proto_reflection_descriptor_database.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpp/util/proto_reflection_descriptor_database.cc b/test/cpp/util/proto_reflection_descriptor_database.cc index 82d82a348d..409b0de1b2 100644 --- a/test/cpp/util/proto_reflection_descriptor_database.cc +++ b/test/cpp/util/proto_reflection_descriptor_database.cc @@ -317,13 +317,13 @@ ProtoReflectionDescriptorDatabase::GetStream() { bool ProtoReflectionDescriptorDatabase::DoOneRequest( const ServerReflectionRequest& request, ServerReflectionResponse& response) { - bool request_success = false; + bool success = false; stream_mutex_.lock(); if (GetStream()->Write(request) && GetStream()->Read(&response)) { - request_success = true; + success = true; } stream_mutex_.unlock(); - return request_success; + return success; } } // namespace grpc |