summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2009-03-19 23:28:54 +0000
committerChris Wilson <chris+github@qwirx.com>2009-03-19 23:28:54 +0000
commit7e3c36bfbe0056cd6e362ca92a4c4477e45604cb (patch)
tree425d3467108e5b48e9b7f7a2fcca5f53917c0af9 /bin
parentb0625ce07b2a6a60c95ed25ed2f78fd038c4e833 (diff)
Wrap long lines for readability.
Diffstat (limited to 'bin')
-rw-r--r--bin/bbackupd/BackupDaemon.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp
index 7ddaba40..3615b848 100644
--- a/bin/bbackupd/BackupDaemon.cpp
+++ b/bin/bbackupd/BackupDaemon.cpp
@@ -697,9 +697,8 @@ void BackupDaemon::RunSyncNow()
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 @@ void BackupDaemon::OnBackupFinish()
//
// 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 @@ int BackupDaemon::UseScriptToSeeIfSyncAllowed()
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);