From f83c9dbf6ffdcd7c2fa833b243211822ba521e16 Mon Sep 17 00:00:00 2001 From: boz Date: Thu, 31 May 2007 23:38:37 +0000 Subject: [PATCH] THRIFT: ADITYASLOP Summary: thrift didn't compile Reviewed By: marc Test Plan: thrift compiles git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665127 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cpp/src/transport/TServerSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cpp/src/transport/TServerSocket.cpp b/lib/cpp/src/transport/TServerSocket.cpp index 22346bdd..f341a2bb 100644 --- a/lib/cpp/src/transport/TServerSocket.cpp +++ b/lib/cpp/src/transport/TServerSocket.cpp @@ -182,7 +182,7 @@ shared_ptr TServerSocket::acceptImpl() { if (ret < 0) { // error cases - if (error == EINTR && (numEintrs++ < maxEintrs)) { + if (errno == EINTR && (numEintrs++ < maxEintrs)) { // EINTR needs to be handled manually and we can tolerate // a certain number continue; -- 2.17.1