(THRIFT-37) Add some missing newlines to fprintfs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@676087 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/server/TNonblockingServer.cpp b/lib/cpp/src/server/TNonblockingServer.cpp
index 8aec9d8..974139b 100644
--- a/lib/cpp/src/server/TNonblockingServer.cpp
+++ b/lib/cpp/src/server/TNonblockingServer.cpp
@@ -356,7 +356,7 @@
sz = (int32_t)ntohl(sz);
if (sz <= 0) {
- fprintf(stderr, "TConnection:transition() Negative frame size %d, remote side not using TFramedTransport?", sz);
+ fprintf(stderr, "TConnection:transition() Negative frame size %d, remote side not using TFramedTransport?\n", sz);
close();
return;
}
@@ -520,7 +520,7 @@
// Fail fast if we could not create a TConnection object
if (clientConnection == NULL) {
- fprintf(stderr, "thriftServerEventHandler: failed TConnection factory");
+ fprintf(stderr, "thriftServerEventHandler: failed TConnection factory\n");
close(clientSocket);
return;
}