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
diff --git a/lib/cpp/src/transport/TServerSocket.cpp b/lib/cpp/src/transport/TServerSocket.cpp
index 22346bd..f341a2b 100644
--- a/lib/cpp/src/transport/TServerSocket.cpp
+++ b/lib/cpp/src/transport/TServerSocket.cpp
@@ -182,7 +182,7 @@
 
     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;