diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-07 18:36:29 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-07 18:36:29 +0200 |
| commit | 76585105247365dd9f84997d933eeabd4303aabd (patch) | |
| tree | ee3dc9315b1e8f204b486b12913e81970c6af3b4 /src/Daemon/CrashWatcher.cpp | |
| parent | caef0b615fc0cc11de65fae634bd9674b0c634d2 (diff) | |
| download | abrt-76585105247365dd9f84997d933eeabd4303aabd.tar.gz abrt-76585105247365dd9f84997d933eeabd4303aabd.tar.xz abrt-76585105247365dd9f84997d933eeabd4303aabd.zip | |
preparatory work for proper (i.e. unicast) server->client dbus communication
+ /* send unicast dbus signal */
+ if (!dbus_message_set_destination(msg, pDest))
+ die_out_of_memory();
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/CrashWatcher.cpp')
| -rw-r--r-- | src/Daemon/CrashWatcher.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp index 06afabda..1b17af69 100644 --- a/src/Daemon/CrashWatcher.cpp +++ b/src/Daemon/CrashWatcher.cpp @@ -142,6 +142,7 @@ static void *create_report(void *arg) pthread_mutex_lock(&g_pJobsMutex); g_pending_jobs[std::string(thread_data->UID)][uint64_t(thread_data->thread_id)] = crashReport; pthread_mutex_unlock(&g_pJobsMutex); + g_pCommLayer->JobDone(thread_data->dest, uint64_t(thread_data->thread_id)); } catch (CABRTException& e) @@ -179,7 +180,7 @@ uint64_t CreateReport_t(const char* pUUID, const char* pUID, const char* pSender free(thread_data->dest); free(thread_data); /* The only reason this may happen is system-wide resource starvation, - * or ulimit is exceeded (someoune floods us with CreateReport() dbus calls?) + * or ulimit is exceeded (someone floods us with CreateReport() dbus calls?) */ error_msg("cannot create thread"); return 0; |
