diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-01-11 10:53:39 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-01-11 10:53:39 +0000 |
commit | e6c8834f3f5c4a87fcbcbc6172d9ad245cbb123b (patch) | |
tree | e167edcf26908fcfb98f6473901686804d4a1fdf /cpp/src/IceGrid/FileCache.cpp | |
parent | Fix (diff) | |
download | ice-e6c8834f3f5c4a87fcbcbc6172d9ad245cbb123b.tar.bz2 ice-e6c8834f3f5c4a87fcbcbc6172d9ad245cbb123b.tar.xz ice-e6c8834f3f5c4a87fcbcbc6172d9ad245cbb123b.zip |
Fix
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 d18b7f0d1f4..b555281482f 100644 --- a/cpp/src/IceGrid/FileCache.cpp +++ b/cpp/src/IceGrid/FileCache.cpp @@ -144,7 +144,7 @@ FileCache::read(const string& file, Ice::Long offset, int size, Ice::Long& newOf // newOffset = offset; lines = Ice::StringSeq(); - is.seekg(static_cast<streamoff>(offset), ios::end); + is.seekg(static_cast<streamoff>(offset), ios::beg); int totalSize = 0; string line; for(int i = 0; is.good(); ++i) |