summaryrefslogtreecommitdiffstats
path: root/src/daemon
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-01-20 21:32:58 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-01-20 21:32:58 +0100
commita0dc58e8355a0d4b98b9c88e0f26172b1418d7c9 (patch)
tree7baf8c43b8530cfd2d5557a6ae7479595e1c6fea /src/daemon
parent3380e13c62e1b7a8309423f4eccfb4b6cbaa0310 (diff)
downloadabrt-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.h1
-rw-r--r--src/daemon/Daemon.h2
-rw-r--r--src/daemon/Settings.cpp2
-rw-r--r--src/daemon/abrt-server.c1
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"