summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-04-20 13:55:19 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-04-20 13:55:19 +0200
commit13a19b78ba45353f9a6a59c8dbb02336c339db35 (patch)
treea3a8fb95a6d4ba1ab52db4da81ee3b277b0306a8 /src/lib
parent2b2f3018bd91e50c874cfab4df4a847941cb140c (diff)
downloadabrt-13a19b78ba45353f9a6a59c8dbb02336c339db35.tar.gz
abrt-13a19b78ba45353f9a6a59c8dbb02336c339db35.tar.xz
abrt-13a19b78ba45353f9a6a59c8dbb02336c339db35.zip
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 <dvlasenk@redhat.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/load_plugin_settings.c3
1 files changed, 2 insertions, 1 deletions
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)
{