diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-03 16:18:51 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-03 16:18:51 +0200 |
| commit | 31ee291096f5522e9fb1729d4be83a9a3751a526 (patch) | |
| tree | aad5454401c04e0cc27413e93637e12e54a6d49c /src/Daemon/Daemon.cpp | |
| parent | cd4f64729225a41ac7b6040e32aca1c9635812b0 (diff) | |
| download | abrt-31ee291096f5522e9fb1729d4be83a9a3751a526.tar.gz abrt-31ee291096f5522e9fb1729d4be83a9a3751a526.tar.xz abrt-31ee291096f5522e9fb1729d4be83a9a3751a526.zip | |
Settings: add comments, do some trivial simplifications
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/Daemon.cpp')
| -rw-r--r-- | src/Daemon/Daemon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) */ |
