diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-06-15 04:14:14 +0200 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-06-15 04:14:14 +0200 |
| commit | c7197324b1e9e33260a1d9fd7e26528d9d562abc (patch) | |
| tree | 1240bfd3ffbd9bfda44e92620d472902c3c6a27e /src/daemon | |
| parent | 5559fa5915b6c72ced25bb6be77be2202e6438fb (diff) | |
cli: use deletion through socket. cli does not depend on dbus anymore
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon')
| -rw-r--r-- | src/daemon/Makefile.am | 3 | ||||
| -rw-r--r-- | src/daemon/abrtd.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index 0a00c254..f2f90d69 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -38,7 +38,8 @@ abrtd_CPPFLAGS = \ abrtd_LDADD = \ $(DBUS_LIBS) \ ../lib/libabrt.la \ - $(LIBREPORT_LIBS) -labrt_dbus + $(LIBREPORT_LIBS) \ + -labrt_dbus abrt_server_SOURCES = \ abrt-server.c diff --git a/src/daemon/abrtd.c b/src/daemon/abrtd.c index 7a1ab318..5746a319 100644 --- a/src/daemon/abrtd.c +++ b/src/daemon/abrtd.c @@ -30,12 +30,12 @@ #include "MiddleWare.h" #include "parse_options.h" -#define VAR_RUN_PIDFILE VAR_RUN"/abrtd.pid" +#define VAR_RUN_PIDFILE VAR_RUN"/abrtd.pid" -#define SOCKET_FILE VAR_RUN"/abrt/abrt.socket" +#define SOCKET_FILE VAR_RUN"/abrt/abrt.socket" #define SOCKET_PERMISSION 0666 /* Maximum number of simultaneously opened client connections. */ -#define MAX_CLIENT_COUNT 10 +#define MAX_CLIENT_COUNT 10 /* Daemon initializes, then sits in glib main loop, waiting for events. |
