From 31ee291096f5522e9fb1729d4be83a9a3751a526 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 3 Sep 2009 16:18:51 +0200 Subject: Settings: add comments, do some trivial simplifications Signed-off-by: Denys Vlasenko --- src/Daemon/Daemon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Daemon/Daemon.cpp') diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index be9c9c2..db051a9 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -169,8 +169,8 @@ static void SetUpMW() { g_RPM.LoadOpenGPGPublicKey(*it_k); } - set_strings_t::iterator it_b = g_settings_mapSettingsBlackList.begin(); - for (; it_b != g_settings_mapSettingsBlackList.end(); it_b++) + set_strings_t::iterator it_b = g_settings_mapBlackList.begin(); + for (; it_b != g_settings_mapBlackList.end(); it_b++) { g_setBlackList.insert(*it_b); } @@ -631,7 +631,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(CONF_DIR"/abrt.conf"); + LoadSettings(); /* (comment here) */ g_pMainloop = g_main_loop_new(NULL, FALSE); /* (comment here) */ -- cgit