summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Daemon.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-24 16:42:15 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-24 16:42:15 +0200
commit951fb690f1cde250f4d3cc6565ec4fc63f5df8fa (patch)
treeab451b65099661f65de1c9643401b12d4f6c57ed /src/Daemon/Daemon.cpp
parentb8ac6f50b0bfff3446110c9284e52dd49290fe5d (diff)
downloadabrt-951fb690f1cde250f4d3cc6565ec4fc63f5df8fa.tar.gz
abrt-951fb690f1cde250f4d3cc6565ec4fc63f5df8fa.tar.xz
abrt-951fb690f1cde250f4d3cc6565ec4fc63f5df8fa.zip
trivial simplification: make LoadSettings() take char*, not string& param
and some cosmetics... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/Daemon.cpp')
-rw-r--r--src/Daemon/Daemon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp
index 00c07c2..47a963c 100644
--- a/src/Daemon/Daemon.cpp
+++ b/src/Daemon/Daemon.cpp
@@ -581,7 +581,7 @@ int main(int argc, char** argv)
if (inotify_add_watch(inotify_fd, DEBUG_DUMPS_DIR, IN_CREATE) == -1)
perror_msg_and_die("inotify_add_watch failed on '%s'", DEBUG_DUMPS_DIR);
/* (comment here) */
- LoadSettings(std::string(CONF_DIR) + "/abrt.conf");
+ LoadSettings(CONF_DIR"/abrt.conf");
/* (comment here) */
g_pMainloop = g_main_loop_new(NULL, FALSE);
/* (comment here) */