From 5b80ac3bd83483cf937b13b222b55a0980ffdc39 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Wed, 10 Jun 2009 10:06:37 +0200 Subject: abrt can take reporter's configuration file from reporting users's $HOME/.abrt/ directory --- lib/CommLayer/CommLayerServerDBus.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/CommLayer/CommLayerServerDBus.cpp') diff --git a/lib/CommLayer/CommLayerServerDBus.cpp b/lib/CommLayer/CommLayerServerDBus.cpp index 8f4b3bf..cffd012 100644 --- a/lib/CommLayer/CommLayerServerDBus.cpp +++ b/lib/CommLayer/CommLayerServerDBus.cpp @@ -47,9 +47,10 @@ map_crash_report_t CCommLayerServerDBus::CreateReport(const std::string &pUUID,c return crashReport; } -bool CCommLayerServerDBus::Report(map_crash_report_t pReport) +bool CCommLayerServerDBus::Report(map_crash_report_t pReport,const std::string &pSender) { - m_pObserver->Report(pReport); + unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str()); + m_pObserver->Report(pReport, to_string(unix_uid)); return true; } -- cgit