summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerServerDBus.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-08-03 12:31:57 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-08-03 12:31:57 +0200
commitee2e495f2eafaa8a2f65ad769bef6761e7f02856 (patch)
tree26eee94d6e85006930dec6f2a975d7115da53383 /lib/CommLayer/CommLayerServerDBus.cpp
parente89460e8ad1202471695edaeb6364ff15ad4f585 (diff)
downloadabrt-ee2e495f2eafaa8a2f65ad769bef6761e7f02856.tar.gz
abrt-ee2e495f2eafaa8a2f65ad769bef6761e7f02856.tar.xz
abrt-ee2e495f2eafaa8a2f65ad769bef6761e7f02856.zip
DBus: Many fixes to client -> cli works again, changed JobDone notification
Diffstat (limited to 'lib/CommLayer/CommLayerServerDBus.cpp')
-rw-r--r--lib/CommLayer/CommLayerServerDBus.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CommLayer/CommLayerServerDBus.cpp b/lib/CommLayer/CommLayerServerDBus.cpp
index d3e00c1..ad3c2db 100644
--- a/lib/CommLayer/CommLayerServerDBus.cpp
+++ b/lib/CommLayer/CommLayerServerDBus.cpp
@@ -53,7 +53,7 @@ uint64_t CCommLayerServerDBus::CreateReport_t(const std::string &pUUID,const std
{
unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str());
map_crash_report_t crashReport;
- uint64_t job_id = m_pObserver->CreateReport_t(pUUID, to_string(unix_uid));
+ uint64_t job_id = m_pObserver->CreateReport_t(pUUID, to_string(unix_uid), pSender);
return job_id;
}
@@ -99,7 +99,7 @@ void CCommLayerServerDBus::Update(const std::string& pDest, const std::string& p
CDBusServer_adaptor::Update(pDest, pMessage);
}
-void CCommLayerServerDBus::JobDone(uint64_t pJobID)
+void CCommLayerServerDBus::JobDone(const std::string &pDest, uint64_t pJobID)
{
- CDBusServer_adaptor::JobDone(pJobID);
+ CDBusServer_adaptor::JobDone(pDest, pJobID);
}