[Box Backup-dev] [861]
Martin Ebourne
boxbackup-dev@fluffy.co.uk
Thu, 31 Aug 2006 23:37:28 +0100
--- bin/bbstored/BackupCommands.cpp (revision 860)
+++ bin/bbstored/BackupCommands.cpp (revision 861)
@@ -380,9 +376,7 @@
combined->Seek(0, IOStream::SeekType_Absolute);
// Then shuffle round for the next go
-#ifdef WIN32
if (from.get()) from->Close();
-#endif
from = combined;
}
I don't see here why the from->Close() is needed at all. As far as I can
see the destructor will call Close() on the next line anyway.
Cheers,
Martin.