[Box Backup-dev] COMMIT r588 - box/chris/general/lib/backupstore
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Sat, 27 May 2006 09:45:17 +0000 (GMT)
Author: chris
Date: 2006-05-27 09:44:56 +0000 (Sat, 27 May 2006)
New Revision: 588
Modified:
box/chris/general/lib/backupstore/BackupStoreAccounts.cpp
Log:
* BackupStoreAccounts.cpp
- Use directory separator in account root dir
Modified: box/chris/general/lib/backupstore/BackupStoreAccounts.cpp
===================================================================
--- box/chris/general/lib/backupstore/BackupStoreAccounts.cpp 2006-05-27 09:44:17 UTC (rev 587)
+++ box/chris/general/lib/backupstore/BackupStoreAccounts.cpp 2006-05-27 09:44:56 UTC (rev 588)
@@ -141,8 +141,9 @@
std::string BackupStoreAccounts::MakeAccountRootDir(int32_t ID, int DiscSet) const
{
char accid[64]; // big enough!
- ::sprintf(accid, "%08x/", ID);
- return std::string(std::string(BOX_RAIDFILE_ROOT_BBSTORED DIRECTORY_SEPARATOR) + accid);
+ ::sprintf(accid, "%08x" DIRECTORY_SEPARATOR, ID);
+ return std::string(std::string(BOX_RAIDFILE_ROOT_BBSTORED
+ DIRECTORY_SEPARATOR) + accid);
}