From d7d62ea5ee19f5cad52dcfb2f2a49d8d36fa1228 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 20 Jan 2011 18:34:08 +0100 Subject: introduce and use new helper function list_free_with_free Signed-off-by: Denys Vlasenko --- src/daemon/Daemon.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/daemon/Daemon.cpp') diff --git a/src/daemon/Daemon.cpp b/src/daemon/Daemon.cpp index eddcd766..8d972a9a 100644 --- a/src/daemon/Daemon.cpp +++ b/src/daemon/Daemon.cpp @@ -25,7 +25,6 @@ #include #include #include /* ioctl(FIONREAD) */ -#include #include "abrtlib.h" #include "comm_layer_inner.h" #include "Settings.h" @@ -633,7 +632,7 @@ int main(int argc, char** argv) init_daemon_logging(&watcher); VERB1 log("Loading settings"); - if (LoadSettings() != 0) + if (load_settings() != 0) throw 1; sanitize_dump_dir_rights(); @@ -759,7 +758,7 @@ int main(int argc, char** argv) if (pMainloop) g_main_loop_unref(pMainloop); - settings_free(); + free_settings(); if (log_scanner_pid > 0) { -- cgit