diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-21 20:03:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-21 20:03:19 +0200 |
commit | 9802f19eb7930494cb1802326bc130b9022b50cc (patch) | |
tree | 862ee15c53df2da69718b609c0602f4402a8132c /src/Daemon/CommLayerServerDBus.cpp | |
parent | aa09d40fdcaf9abfe750929c5fe3b19ac1cef0cb (diff) | |
download | abrt-9802f19eb7930494cb1802326bc130b9022b50cc.tar.gz abrt-9802f19eb7930494cb1802326bc130b9022b50cc.tar.xz abrt-9802f19eb7930494cb1802326bc130b9022b50cc.zip |
cleanup (m_XXX -> g_XXX renames and the like)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/CommLayerServerDBus.cpp')
-rw-r--r-- | src/Daemon/CommLayerServerDBus.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
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); |