diff options
Diffstat (limited to 'cpp/src/IceGrid/FileCache.cpp')
-rw-r--r-- | cpp/src/IceGrid/FileCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/FileCache.cpp b/cpp/src/IceGrid/FileCache.cpp index 565e7896e62..110826408c7 100644 --- a/cpp/src/IceGrid/FileCache.cpp +++ b/cpp/src/IceGrid/FileCache.cpp @@ -164,7 +164,7 @@ FileCache::read(const string& file, Ice::Long offset, int size, Ice::Long& newOf int totalSize = 0; string line; - for(int i = 0; is.good(); ++i) + while(is.good()) { getline(is, line); |