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;
}
// 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;
}