From: David Reiss Date: Fri, 11 Jul 2008 21:39:58 +0000 (+0000) Subject: (THRIFT-37) Add some missing newlines to fprintfs. X-Git-Tag: 0.2.0~474 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=2be87f3ab036183d49ad7a9af274c797839ef342;p=common%2Fthrift.git (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 8aec9d81..974139b4 100644 --- a/lib/cpp/src/server/TNonblockingServer.cpp +++ b/lib/cpp/src/server/TNonblockingServer.cpp @@ -356,7 +356,7 @@ void TConnection::transition() { 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 @@ void TNonblockingServer::handleEvent(int fd, short which) { // 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; }