diff options
author | Karel Klic <kklic@redhat.com> | 2010-06-22 14:14:38 +0200 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2010-06-22 14:14:38 +0200 |
commit | 06241a7f480159f0c999aaaf83e5eef92860b858 (patch) | |
tree | a3da750ad344f93913618d44aa0356b04070becb | |
parent | ac304dcddd13196c8d284d363e022005edef9cb2 (diff) | |
download | abrt-06241a7f480159f0c999aaaf83e5eef92860b858.tar.gz abrt-06241a7f480159f0c999aaaf83e5eef92860b858.tar.xz abrt-06241a7f480159f0c999aaaf83e5eef92860b858.zip |
Remove dead socket code.
-rw-r--r-- | src/CLI/CLI.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/CLI/CLI.cpp b/src/CLI/CLI.cpp index 323ba006..b082115c 100644 --- a/src/CLI/CLI.cpp +++ b/src/CLI/CLI.cpp @@ -265,15 +265,10 @@ int main(int argc, char** argv) return 1; } -#ifdef ENABLE_DBUS DBusError err; dbus_error_init(&err); s_dbus_conn = dbus_bus_get(DBUS_BUS_SYSTEM, &err); handle_dbus_err(s_dbus_conn == NULL, &err); -#elif ENABLE_SOCKET - CABRTSocket ABRTDaemon; - ABRTDaemon.Connect(VAR_RUN"/abrt.socket"); -#endif /* Do the selected operation. */ int exitcode = 0; @@ -316,9 +311,5 @@ int main(int argc, char** argv) } } -#if ENABLE_SOCKET - ABRTDaemon.Disconnect(); -#endif - return exitcode; } |