You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2014/07/07 22:03:33 UTC

git commit: THRIFT-2609 TFileTransport.h unused field warning (clang 3.4)

Repository: thrift
Updated Branches:
  refs/heads/master 2768eb29c -> 5f61d29a2


THRIFT-2609 TFileTransport.h unused field warning (clang 3.4)

Patch: Konrad Grochowski


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/5f61d29a
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/5f61d29a
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/5f61d29a

Branch: refs/heads/master
Commit: 5f61d29a26b7d3988c0ca7ec3bbac160c0cb7511
Parents: 2768eb2
Author: Roger Meier <ro...@apache.org>
Authored: Mon Jul 7 22:02:57 2014 +0200
Committer: Roger Meier <ro...@apache.org>
Committed: Mon Jul 7 22:02:57 2014 +0200

----------------------------------------------------------------------
 lib/cpp/src/thrift/transport/TFileTransport.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/5f61d29a/lib/cpp/src/thrift/transport/TFileTransport.cpp
----------------------------------------------------------------------
diff --git a/lib/cpp/src/thrift/transport/TFileTransport.cpp b/lib/cpp/src/thrift/transport/TFileTransport.cpp
index c267f2e..625c877 100644
--- a/lib/cpp/src/thrift/transport/TFileTransport.cpp
+++ b/lib/cpp/src/thrift/transport/TFileTransport.cpp
@@ -751,7 +751,7 @@ void TFileTransport::performRecovery() {
       // if tailing the file, wait until there is enough data to start
       // the next chunk
       while(curChunk == (getNumChunks() - 1)) {
-        THRIFT_SLEEP_USEC(DEFAULT_CORRUPTED_SLEEP_TIME_US);
+        THRIFT_SLEEP_USEC(corruptedEventSleepTime_);
       }
       seekToChunk(curChunk + 1);
     } else {