diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-11-02 15:46:53 +0100 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-11-02 15:46:53 +0100 |
| commit | 3cfc642450ab5b19a3e07a2b1815a63a396c3dff (patch) | |
| tree | 1f0560ae4cd12a5c05828c504abb5733367c30c7 /src/daemon/Daemon.cpp | |
| parent | 0548c795edc34cba29d42abc28bf1e6cfc8c87b8 (diff) | |
Added DIR paramented to "Crash" dbus signal
Run-tested
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/Daemon.cpp')
| -rw-r--r-- | src/daemon/Daemon.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon/Daemon.cpp b/src/daemon/Daemon.cpp index 929fcd0b..ffc60a8f 100644 --- a/src/daemon/Daemon.cpp +++ b/src/daemon/Daemon.cpp @@ -74,7 +74,7 @@ using namespace std; * - SetSettings(map_abrt_settings_t): returns void * * DBus signals we emit: - * - Crash(progname, crash_id, uid) - a new crash occurred (new /var/spool/abrt/DIR is found) + * - Crash(progname, crash_id, dir, uid) - a new crash occurred (new /var/spool/abrt/DIR is found) * - JobDone(client_dbus_ID) - see StartJob above. * Sent as unicast to the client which did StartJob. * - Warning(msg) @@ -663,7 +663,6 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin strrchr(first, '/') + 1); delete_debug_dump_dir(fullname); } -#define fullname fullname_should_not_be_used_here const char *analyzer = get_crash_data_item_content(crashinfo, FILENAME_ANALYZER).c_str(); const char *uid_str = get_crash_data_item_content(crashinfo, CD_UID).c_str(); @@ -676,11 +675,12 @@ static gboolean handle_inotify_cb(GIOChannel *gio, GIOCondition condition, gpoin get_crash_data_item_content(crashinfo, CD_UUID).c_str() ); g_pCommLayer->Crash(get_crash_data_item_content(crashinfo, FILENAME_PACKAGE).c_str(), - crash_id, - uid_str); + crash_id, + fullname, + uid_str + ); free(crash_id); break; -#undef fullname } case MW_IN_DB: log("Huh, this crash is already in db?! Nothing to do"); |
