From 13a19b78ba45353f9a6a59c8dbb02336c339db35 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 20 Apr 2011 13:55:19 +0200 Subject: daemon: simplify parsing of settings; remove remaining c++isms in daemon This change will not compile, because in C++, void* cannot be automatically cast to char*. Next change renames Settings.cpp to *.c and fixes this. Signed-off-by: Denys Vlasenko --- src/lib/load_plugin_settings.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/load_plugin_settings.c b/src/lib/load_plugin_settings.c index 1b6086f9..3e4ebf9c 100644 --- a/src/lib/load_plugin_settings.c +++ b/src/lib/load_plugin_settings.c @@ -18,8 +18,9 @@ */ #include "abrtlib.h" -/* Returns NULL if open failed. +/* Returns false if open failed. * Returns empty hash if conf file is empty. + * TODO: better error detection? */ bool load_conf_file(const char *pPath, map_string_h *settings, bool skipKeysWithoutValue) { -- cgit