(THRIFT-37) Add some missing newlines to fprintfs.
authorDavid Reiss <dreiss@apache.org>
Fri, 11 Jul 2008 21:39:58 +0000 (21:39 +0000)
committerDavid Reiss <dreiss@apache.org>
Fri, 11 Jul 2008 21:39:58 +0000 (21:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@676087 13f79535-47bb-0310-9956-ffa450edef68

lib/cpp/src/server/TNonblockingServer.cpp

index 8aec9d8..974139b 100644 (file)
@@ -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;
     }