diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-20 21:32:58 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-20 21:32:58 +0100 |
commit | a0dc58e8355a0d4b98b9c88e0f26172b1418d7c9 (patch) | |
tree | 7baf8c43b8530cfd2d5557a6ae7479595e1c6fea /src/daemon | |
parent | 3380e13c62e1b7a8309423f4eccfb4b6cbaa0310 (diff) | |
download | abrt-a0dc58e8355a0d4b98b9c88e0f26172b1418d7c9.tar.gz abrt-a0dc58e8355a0d4b98b9c88e0f26172b1418d7c9.tar.xz abrt-a0dc58e8355a0d4b98b9c88e0f26172b1418d7c9.zip |
add OPT_LIST mechanism to handle multiply occurring options
This allowed to convert abrt-action-bugzilla, abrt-action-rhtsupport
and abrt-action-kerneloops to parse_opts()
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/CommLayerServer.h | 1 | ||||
-rw-r--r-- | src/daemon/Daemon.h | 2 | ||||
-rw-r--r-- | src/daemon/Settings.cpp | 2 | ||||
-rw-r--r-- | src/daemon/abrt-server.c | 1 |
4 files changed, 2 insertions, 4 deletions
diff --git a/src/daemon/CommLayerServer.h b/src/daemon/CommLayerServer.h index 997f6c41..b6da0ae5 100644 --- a/src/daemon/CommLayerServer.h +++ b/src/daemon/CommLayerServer.h @@ -20,7 +20,6 @@ #define COMMLAYERSERVER_H_ #include "abrtlib.h" -#include "abrt_crash_data.h" class CCommLayerServer { public: diff --git a/src/daemon/Daemon.h b/src/daemon/Daemon.h index eb691262..9072f844 100644 --- a/src/daemon/Daemon.h +++ b/src/daemon/Daemon.h @@ -21,7 +21,7 @@ #include <pthread.h> #include "abrt_types.h" -#include "abrt_crash_data.h" +//#include "abrt_crash_data.h" class CCrashWatcher; class CCommLayerServer; diff --git a/src/daemon/Settings.cpp b/src/daemon/Settings.cpp index ff9062fc..e25b7959 100644 --- a/src/daemon/Settings.cpp +++ b/src/daemon/Settings.cpp @@ -76,7 +76,7 @@ static GList *parse_list(const char* list) } if (item->len > 0) - l = g_list_append(l, xstrdup(item->buf)); + l = g_list_append(l, xstrdup(item->buf)); strbuf_free(item); return l; diff --git a/src/daemon/abrt-server.c b/src/daemon/abrt-server.c index 3415e95c..ae1e3f35 100644 --- a/src/daemon/abrt-server.c +++ b/src/daemon/abrt-server.c @@ -17,7 +17,6 @@ */ #include "abrtlib.h" #include "dump_dir.h" -#include "abrt_crash_data.h" /* FILENAME_foo */ #include "hooklib.h" #include "parse_options.h" |