This is an automated email from the ASF dual-hosted git repository. emmenlau pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push: new 6e767e663 THRIFT-5670: Fix wrong usage of GlobalOutput.perror() new 7f37c2d0d Merge pull request #2732 from stiga-huang/fix-perror 6e767e663 is described below commit 6e767e6635f459dfee45d45a4051b2919db9027a Author: stiga-huang <huangquanl...@gmail.com> AuthorDate: Tue Nov 22 11:17:58 2022 +0800 THRIFT-5670: Fix wrong usage of GlobalOutput.perror() --- lib/cpp/src/thrift/transport/TSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cpp/src/thrift/transport/TSocket.cpp b/lib/cpp/src/thrift/transport/TSocket.cpp index d8accadc9..6c8a1c843 100644 --- a/lib/cpp/src/thrift/transport/TSocket.cpp +++ b/lib/cpp/src/thrift/transport/TSocket.cpp @@ -569,7 +569,7 @@ try_again: throw TTransportException(TTransportException::INTERRUPTED, "Interrupted"); } } else /* ret == 0 */ { - GlobalOutput.perror("TSocket::read() THRIFT_EAGAIN (timed out) after %f ms", recvTimeout_); + GlobalOutput.printf("TSocket::read() THRIFT_EAGAIN (timed out) after %d ms", recvTimeout_); throw TTransportException(TTransportException::TIMED_OUT, "THRIFT_EAGAIN (timed out)"); }