summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CrashWatcher.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-06-11 13:05:04 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-06-11 13:05:04 +0200
commita1905a6937bf6e8855660410ba3f7bab9f415449 (patch)
tree138adf422fd56d48505d291b7058b828d8e6c8d0 /src/Daemon/CrashWatcher.cpp
parentc400d4ded9aaac7c72520523ea3a20e5cb68ae7a (diff)
downloadabrt-a1905a6937bf6e8855660410ba3f7bab9f415449.tar.gz
abrt-a1905a6937bf6e8855660410ba3f7bab9f415449.tar.xz
abrt-a1905a6937bf6e8855660410ba3f7bab9f415449.zip
added new options to AT, which defines what communication platform will be used
Diffstat (limited to 'src/Daemon/CrashWatcher.cpp')
-rw-r--r--src/Daemon/CrashWatcher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp
index 9dd4232e..97d03b57 100644
--- a/src/Daemon/CrashWatcher.cpp
+++ b/src/Daemon/CrashWatcher.cpp
@@ -381,13 +381,13 @@ CCrashWatcher::CCrashWatcher(const std::string& pPath)
SetUpMW();
SetUpCron();
FindNewDumps(pPath);
-#ifdef HAVE_DBUS
+#ifdef ENABLE_DBUS
m_pCommLayer = new CCommLayerServerDBus();
-#elif HAVE_SOCKET
+#elif ENABLE_SOCKET
m_pCommLayer = new CCommLayerServerSocket();
#endif
- m_pCommLayer = new CCommLayerServerDBus();
-// m_pCommLayer = new CCommLayerServerSocket();
+// m_pCommLayer = new CCommLayerServerDBus();
+// m_pCommLayer = new CCommLayerServerSocket();
m_pCommLayer->Attach(this);
if((m_nFd = inotify_init()) == -1)