[Box Backup-commit] COMMIT r2455 - box/trunk/bin/bbackupd

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Thu Mar 19 23:28:55 GMT 2009


Author: chris
Date: 2009-03-19 23:28:54 +0000 (Thu, 19 Mar 2009)
New Revision: 2455

Modified:
   box/trunk/bin/bbackupd/BackupDaemon.cpp
Log:
Wrap long lines for readability.


Modified: box/trunk/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/trunk/bin/bbackupd/BackupDaemon.cpp	2009-03-16 21:46:21 UTC (rev 2454)
+++ box/trunk/bin/bbackupd/BackupDaemon.cpp	2009-03-19 23:28:54 UTC (rev 2455)
@@ -697,9 +697,8 @@
 	if(mDeleteStoreObjectInfoFile && 
 		!DeleteStoreObjectInfo())
 	{
-		BOX_ERROR("Failed to delete the "
-			"StoreObjectInfoFile, backup cannot "
-			"continue safely.");
+		BOX_ERROR("Failed to delete the StoreObjectInfoFile, "
+			"backup cannot continue safely.");
 		THROW_EXCEPTION(ClientException, 
 			FailedToDeleteStoreObjectInfoFile);
 	}
@@ -998,8 +997,9 @@
 //
 // Function
 //		Name:    BackupDaemon::UseScriptToSeeIfSyncAllowed()
-//		Purpose: Private. Use a script to see if the sync should be allowed (if configured)
-//				 Returns -1 if it's allowed, time in seconds to wait otherwise.
+//		Purpose: Private. Use a script to see if the sync should be
+//			 allowed now (if configured). Returns -1 if it's
+//			 allowed, time in seconds to wait otherwise.
 //		Created: 21/6/04
 //
 // --------------------------------------------------------------------------
@@ -1021,7 +1021,8 @@
 	pid_t pid = 0;
 	try
 	{
-		std::auto_ptr<IOStream> pscript(LocalProcessStream(conf.GetKeyValue("SyncAllowScript").c_str(), pid));
+		std::auto_ptr<IOStream> pscript(LocalProcessStream(
+			conf.GetKeyValue("SyncAllowScript").c_str(), pid));
 
 		// Read in the result
 		IOStreamGetLine getLine(*pscript);




More information about the Boxbackup-commit mailing list