diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-08-31 22:19:09 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-08-31 22:19:09 +0000 |
commit | 5cfed38449e0265dcfcc0bd684b2bf958390552f (patch) | |
tree | 65f75571867179c0889dcedfbfdb8c98c52d56a0 /lib | |
parent | 76f120d7ec171c3e0b88bc1fe317a4b0dacf19a5 (diff) |
* lib/backupstore/BackupStoreAccounts.cpp
- Revert to trunk
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backupstore/BackupStoreAccounts.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/backupstore/BackupStoreAccounts.cpp b/lib/backupstore/BackupStoreAccounts.cpp index eb10b385..36d9cad3 100644 --- a/lib/backupstore/BackupStoreAccounts.cpp +++ b/lib/backupstore/BackupStoreAccounts.cpp @@ -141,9 +141,8 @@ void BackupStoreAccounts::GetAccountRoot(int32_t ID, std::string &rRootDirOut, i std::string BackupStoreAccounts::MakeAccountRootDir(int32_t ID, int DiscSet) const { char accid[64]; // big enough! - ::sprintf(accid, "%08x" DIRECTORY_SEPARATOR, ID); - return std::string(std::string(BOX_RAIDFILE_ROOT_BBSTORED - DIRECTORY_SEPARATOR) + accid); + ::sprintf(accid, "%08x/", ID); + return std::string(std::string(BOX_RAIDFILE_ROOT_BBSTORED DIRECTORY_SEPARATOR) + accid); } |