[Box Backup-commit] COMMIT r2886 - box/trunk/lib/server

subversion at boxbackup.org subversion at boxbackup.org
Sun Mar 27 02:03:08 BST 2011


Author: chris
Date: 2011-03-27 02:03:07 +0100 (Sun, 27 Mar 2011)
New Revision: 2886

Modified:
   box/trunk/lib/server/Daemon.cpp
Log:
Pass a C++ string instead of a char pointer for efficiency.


Modified: box/trunk/lib/server/Daemon.cpp
===================================================================
--- box/trunk/lib/server/Daemon.cpp	2011-03-27 01:02:42 UTC (rev 2885)
+++ box/trunk/lib/server/Daemon.cpp	2011-03-27 01:03:07 UTC (rev 2886)
@@ -407,7 +407,7 @@
 
 	try
 	{
-		if (!FileExists(rConfigFileName.c_str()))
+		if (!FileExists(rConfigFileName))
 		{
 			BOX_FATAL("The main configuration file for " <<
 				DaemonName() << " was not found: " <<




More information about the Boxbackup-commit mailing list