[Box Backup-commit] COMMIT r2480 - box/trunk/lib/server
boxbackup-dev@boxbackup.org
boxbackup-dev@boxbackup.org
Sun, 29 Mar 2009 14:31:15 +0100 (BST)
Author: chris
Date: 2009-03-29 14:31:14 +0100 (Sun, 29 Mar 2009)
New Revision: 2480
Modified:
box/trunk/lib/server/Daemon.cpp
Log:
Hopefully fix compile error reported by Mirko on cross-compiler.
Modified: box/trunk/lib/server/Daemon.cpp
===================================================================
--- box/trunk/lib/server/Daemon.cpp 2009-03-28 15:52:28 UTC (rev 2479)
+++ box/trunk/lib/server/Daemon.cpp 2009-03-29 13:31:14 UTC (rev 2480)
@@ -689,10 +689,10 @@
BOX_NOTICE("Reloading configuration file: "
<< mConfigFileName);
std::string errors;
- std::auto_ptr<Configuration> pconfig =
+ std::auto_ptr<Configuration> pconfig(
Configuration::LoadAndVerify(
mConfigFileName.c_str(),
- GetConfigVerify(), errors);
+ GetConfigVerify(), errors));
// Got errors?
if(pconfig.get() == 0 || !errors.empty())