[Box Backup-commit] COMMIT r2319 - box/trunk/bin/bbackupd
boxbackup-dev@boxbackup.org
boxbackup-dev@boxbackup.org
Sat, 4 Oct 2008 00:23:30 +0100 (BST)
Author: chris
Date: 2008-10-04 00:23:30 +0100 (Sat, 04 Oct 2008)
New Revision: 2319
Modified:
box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp
Log:
Reformat comments for readability.
Modified: box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp
===================================================================
--- box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp 2008-10-03 23:22:36 UTC (rev 2318)
+++ box/trunk/bin/bbackupd/BackupClientDirectoryRecord.cpp 2008-10-03 23:23:30 UTC (rev 2319)
@@ -948,14 +948,22 @@
// This step will be repeated later when there is space available
if(!rContext.StorageLimitExceeded())
{
- // Upload the file to the server, recording the object ID it returns
- bool noPreviousVersionOnServer = ((pDirOnStore != 0) && (en == 0));
+ // Upload the file to the server, recording the
+ // object ID it returns
+ bool noPreviousVersionOnServer =
+ ((pDirOnStore != 0) && (en == 0));
- // Surround this in a try/catch block, to catch errrors, but still continue
+ // Surround this in a try/catch block, to
+ // catch errors, but still continue
bool uploadSuccess = false;
try
{
- latestObjectID = UploadFile(rParams, filename, storeFilename, fileSize, modTime, attributesHash, noPreviousVersionOnServer);
+ latestObjectID = UploadFile(rParams,
+ filename, storeFilename,
+ fileSize, modTime,
+ attributesHash,
+ noPreviousVersionOnServer);
+
if (latestObjectID == 0)
{
// storage limit exceeded