From fb1007d8490b57a66252552efad93aeb346d846e Mon Sep 17 00:00:00 2001 From: dreiss Date: Fri, 11 Jul 2008 21:39:58 +0000 Subject: [PATCH] (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 --- lib/cpp/src/server/TNonblockingServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@ 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; } -- 2.11.4.GIT