summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerServerDBus.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-06-10 10:06:37 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-06-10 10:06:37 +0200
commit5b80ac3bd83483cf937b13b222b55a0980ffdc39 (patch)
treeec7cb1d37cbf740b41263d4e2c6dd14c78f9a229 /lib/CommLayer/CommLayerServerDBus.cpp
parent9eab929557ef4228b3335f4908dd6b4acf9251dc (diff)
downloadabrt-5b80ac3bd83483cf937b13b222b55a0980ffdc39.tar.gz
abrt-5b80ac3bd83483cf937b13b222b55a0980ffdc39.tar.xz
abrt-5b80ac3bd83483cf937b13b222b55a0980ffdc39.zip
abrt can take reporter's configuration file from reporting users's $HOME/.abrt/ directory
Diffstat (limited to 'lib/CommLayer/CommLayerServerDBus.cpp')
-rw-r--r--lib/CommLayer/CommLayerServerDBus.cpp5
1 files changed, 3 insertions, 2 deletions
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;
}