From 7b2d4874b7bd992ef3f09124b7ebbc346eba01f4 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Thu, 23 Apr 2009 16:10:55 +0200 Subject: added new abrt exceptions --- src/Daemon/CrashWatcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Daemon/CrashWatcher.cpp') diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp index 2884e7c..390cb10 100644 --- a/src/Daemon/CrashWatcher.cpp +++ b/src/Daemon/CrashWatcher.cpp @@ -90,7 +90,7 @@ gboolean CCrashWatcher::handle_event_cb(GIOChannel *gio, GIOCondition condition, { if(cc->m_pMW->SaveDebugDump(std::string(DEBUG_DUMPS_DIR) + "/" + name, crashinfo)) { - cc->m_pMW->Report(std::string(DEBUG_DUMPS_DIR) + "/" + name); + cc->m_pMW->Report(crashinfo[CD_MWDDD][CD_CONTENT]); /* send message to dbus */ cc->m_pCommLayer->Crash(crashinfo[CD_PACKAGE][CD_CONTENT]); } @@ -236,7 +236,7 @@ pCommLayerInner = new CCommLayerInner(this); #endif m_pCommLayer = new CCommLayerServerDBus(); m_pCommLayer->Attach(this); - + if((m_nFd = inotify_init()) == -1){ throw std::string("Init Failed"); //std::cerr << "Init Failed" << std::endl; -- cgit