From 9802f19eb7930494cb1802326bc130b9022b50cc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 21 Aug 2009 20:03:19 +0200 Subject: cleanup (m_XXX -> g_XXX renames and the like) Signed-off-by: Denys Vlasenko --- src/Daemon/CommLayerServerDBus.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/Daemon/CommLayerServerDBus.cpp') diff --git a/src/Daemon/CommLayerServerDBus.cpp b/src/Daemon/CommLayerServerDBus.cpp index 90a78780..f1e36592 100644 --- a/src/Daemon/CommLayerServerDBus.cpp +++ b/src/Daemon/CommLayerServerDBus.cpp @@ -8,7 +8,7 @@ DBus::Connection *CCommLayerServerDBus::init_dbus(CCommLayerServerDBus *self) server->m_pDispatcher = new DBus::Glib::BusDispatcher(); server->m_pDispatcher->attach(NULL); DBus::default_dispatcher = self->m_pDispatcher; - server->m_pConn = new DBus::Connection(DBus::Connection::SystemBus()); + server->m_pConn = new DBus::Connection(DBus::Connection::SystemBus()); return server->m_pConn; } @@ -20,7 +20,7 @@ CCommLayerServerDBus::CCommLayerServerDBus() { m_pConn->request_name(CC_DBUS_NAME); } - catch(DBus::Error err) + catch (DBus::Error err) { throw CABRTException(EXCEP_FATAL, std::string(__func__) + "\nPlease check if:\n" @@ -28,7 +28,6 @@ CCommLayerServerDBus::CCommLayerServerDBus() + " * you have reloaded the dbus\n"+ + "Original exception was:\n " + err.what()); } - } CCommLayerServerDBus::~CCommLayerServerDBus() @@ -41,7 +40,7 @@ vector_crash_infos_t CCommLayerServerDBus::GetCrashInfos(const std::string &pSen vector_crash_infos_t crashInfos; unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str()); crashInfos = m_pObserver->GetCrashInfos(to_string(unix_uid)); - return crashInfos; + return crashInfos; } //FIXME: fix CLI and remove this /* @@ -128,7 +127,6 @@ map_plugin_settings_t CCommLayerServerDBus::GetPluginSettings(const std::string& return m_pObserver->GetPluginSettings(pName, to_string(unix_uid)); } - void CCommLayerServerDBus::RegisterPlugin(const std::string& pName) { return m_pObserver->RegisterPlugin(pName); -- cgit