[Box Backup-commit] COMMIT r3281 - box/trunk/lib/backupstore

subversion at boxbackup.org subversion at boxbackup.org
Thu Feb 27 23:35:32 GMT 2014


Author: chris
Date: 2014-02-27 23:35:31 +0000 (Thu, 27 Feb 2014)
New Revision: 3281

Modified:
   box/trunk/lib/backupstore/HousekeepStoreAccount.cpp
Log:
Fix buggy directory deletion by housekeeping.

Was introduced by commit bc8261347880b813af58c4b873e1847cca03778d.

Modified: box/trunk/lib/backupstore/HousekeepStoreAccount.cpp
===================================================================
--- box/trunk/lib/backupstore/HousekeepStoreAccount.cpp	2014-02-27 23:35:24 UTC (rev 3280)
+++ box/trunk/lib/backupstore/HousekeepStoreAccount.cpp	2014-02-27 23:35:31 UTC (rev 3281)
@@ -1056,7 +1056,7 @@
 			mBlocksInDirectoriesDelta += adjust;
 		}
 
-		if (!mapNewRefs->RemoveReference(dir.GetObjectID()))
+		if (mapNewRefs->RemoveReference(dir.GetObjectID()))
 		{
 			// Still referenced
 			BOX_TRACE("Housekeeping spared empty deleted dir " <<




More information about the Boxbackup-commit mailing list