From e5520a05eaf7d4970590e76a454f27210b6ca9f2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 27 Mar 2011 01:03:07 +0000 Subject: Pass a C++ string instead of a char pointer for efficiency. --- lib/server/Daemon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server/Daemon.cpp b/lib/server/Daemon.cpp index 22239bd9..528f9e57 100644 --- a/lib/server/Daemon.cpp +++ b/lib/server/Daemon.cpp @@ -407,7 +407,7 @@ bool Daemon::Configure(const std::string& rConfigFileName) try { - if (!FileExists(rConfigFileName.c_str())) + if (!FileExists(rConfigFileName)) { BOX_FATAL("The main configuration file for " << DaemonName() << " was not found: " << -- cgit v1.2.3