summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/backupstore/BackupStoreInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/backupstore/BackupStoreInfo.cpp b/lib/backupstore/BackupStoreInfo.cpp
index 6c7a3758..0536634b 100644
--- a/lib/backupstore/BackupStoreInfo.cpp
+++ b/lib/backupstore/BackupStoreInfo.cpp
@@ -192,6 +192,7 @@ std::auto_ptr<BackupStoreInfo> BackupStoreInfo::Load(int32_t AccountID,
{
// Read in a header
info_StreamFormat_1 hdr;
+ rf->Seek(0, IOStream::SeekType_Absolute);
if(!rf->ReadFullBuffer(&hdr, sizeof(hdr),
0 /* not interested in bytes read if this fails */))