[Box Backup-dev] COMMIT r707 - box/chris/general/lib/raidfile

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Thu, 27 Jul 2006 22:40:29 +0000 (GMT)


Author: chris
Date: 2006-07-27 22:40:28 +0000 (Thu, 27 Jul 2006)
New Revision: 707

Modified:
   box/chris/general/lib/raidfile/RaidFileWrite.cpp
Log:
* RaidFileWrite.cpp
- Unix compile fix


Modified: box/chris/general/lib/raidfile/RaidFileWrite.cpp
===================================================================
--- box/chris/general/lib/raidfile/RaidFileWrite.cpp	2006-07-27 22:29:31 UTC (rev 706)
+++ box/chris/general/lib/raidfile/RaidFileWrite.cpp	2006-07-27 22:40:28 UTC (rev 707)
@@ -326,7 +326,7 @@
 		::unlink(writeFilename.c_str()) != 0)
 #else // !WIN32
 	if (::unlink(writeFilename.c_str()) != 0 ||
-		::close(mOSFileHandle) != 0))
+		::close(mOSFileHandle) != 0)
 #endif // !WIN32
 	{
 		THROW_EXCEPTION(RaidFileException, OSError)