THRIFT-2609 TFileTransport.h unused field warning (clang 3.4)
authorRoger Meier <roger@apache.org>
Mon, 7 Jul 2014 20:02:57 +0000 (22:02 +0200)
committerRoger Meier <roger@apache.org>
Mon, 7 Jul 2014 20:02:57 +0000 (22:02 +0200)
Patch: Konrad Grochowski

lib/cpp/src/thrift/transport/TFileTransport.cpp

index c267f2e..625c877 100644 (file)
@@ -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 {