summaryrefslogtreecommitdiff
path: root/lib/cpp/src/thrift/server/TNonblockingServer.cpp
diff options
context:
space:
mode:
authorKonrad Grochowski <hcorg@apache.org>2015-11-05 20:23:11 +0100
committerKonrad Grochowski <hcorg@apache.org>2015-11-05 20:23:11 +0100
commit7f4be5f188409cfe80059f501cc59ad40c6b969d (patch)
tree0ce42b173d64aaeaa6b1195f629f2ede82a4f459 /lib/cpp/src/thrift/server/TNonblockingServer.cpp
parent673c94137aa91e3efc2ee08bbd88f6ba1bbf3a2f (diff)
downloadthrift-7f4be5f188409cfe80059f501cc59ad40c6b969d.tar.gz
some 'some make style' suggestions applied to C++ files
Diffstat (limited to 'lib/cpp/src/thrift/server/TNonblockingServer.cpp')
-rw-r--r--lib/cpp/src/thrift/server/TNonblockingServer.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/cpp/src/thrift/server/TNonblockingServer.cpp b/lib/cpp/src/thrift/server/TNonblockingServer.cpp
index ede34c434..7344b8be2 100644
--- a/lib/cpp/src/thrift/server/TNonblockingServer.cpp
+++ b/lib/cpp/src/thrift/server/TNonblockingServer.cpp
@@ -394,7 +394,7 @@ void TNonblockingServer::TConnection::init(THRIFT_SOCKET socket,
// Create protocol
if (server_->getHeaderTransport()) {
inputProtocol_ = server_->getInputProtocolFactory()->getProtocol(factoryInputTransport_,
- factoryOutputTransport_);
+ factoryOutputTransport_);
outputProtocol_ = inputProtocol_;
} else {
inputProtocol_ = server_->getInputProtocolFactory()->getProtocol(factoryInputTransport_);
@@ -542,13 +542,12 @@ void TNonblockingServer::TConnection::workSocket() {
}
bool TNonblockingServer::getHeaderTransport() {
- // Currently if there is no output protocol factory,
+ // Currently if there is no output protocol factory,
// we assume header transport (without having to create
// a new transport and check)
return getOutputProtocolFactory() == NULL;
}
-
/**
* This is called when the application transitions from one state into
* another. This means that it has finished writing the data that it needed