From 1e752b178131fa0268151219deb35e09c40e29bc Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Wed, 29 Apr 2009 12:46:18 +0200 Subject: rework commlayerinner usage new lock method in debugdump --- lib/Plugins/Bugzilla.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/Plugins/Bugzilla.cpp') diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp index 7a56966a..73b5b0e6 100644 --- a/lib/Plugins/Bugzilla.cpp +++ b/lib/Plugins/Bugzilla.cpp @@ -4,7 +4,7 @@ #include "PluginSettings.h" #include "DebugDump.h" #include "ABRTException.h" -#include "ABRTCommLayer.h" +#include "CommLayerInner.h" #include CReporterBugzilla::CReporterBugzilla() : @@ -35,7 +35,7 @@ void CReporterBugzilla::Login() { rpc->call(m_pXmlrpcClient, m_pCarriageParm); ret = xmlrpc_c::value_struct(rpc->getResult()); - ABRTCommLayer::debug("Login id: " + xmlrpc_c::value_int(ret["id"])); + comm_layer_inner_debug("Login id: " + xmlrpc_c::value_int(ret["id"])); } catch (std::exception& e) { @@ -156,7 +156,7 @@ void CReporterBugzilla::NewBug(const map_crash_report_t& pCrashReport) { rpc->call(m_pXmlrpcClient, m_pCarriageParm); ret = xmlrpc_c::value_struct(rpc->getResult()); - ABRTCommLayer::debug("New bug id: " + xmlrpc_c::value_int(ret["id"])); + comm_layer_inner_debug("New bug id: " + xmlrpc_c::value_int(ret["id"])); } catch (std::exception& e) { @@ -170,15 +170,15 @@ void CReporterBugzilla::Report(const map_crash_report_t& pCrashReport, const std std::string package = pCrashReport.find(FILENAME_PACKAGE)->second[CD_CONTENT]; std::string component = package.substr(0, package.rfind("-", package.rfind("-")-1)); std::string uuid = pCrashReport.find(CD_UUID)->second[CD_CONTENT]; - ABRTCommLayer::status("Logging into bugzilla..."); + comm_layer_inner_status("Logging into bugzilla..."); Login(); - ABRTCommLayer::status("Checking for duplicates..."); + comm_layer_inner_status("Checking for duplicates..."); if (!CheckUUIDInBugzilla(component, uuid)) { - ABRTCommLayer::status("Creating new bug..."); + comm_layer_inner_status("Creating new bug..."); NewBug(pCrashReport); } - ABRTCommLayer::status("Logging out..."); + comm_layer_inner_status("Logging out..."); Logout(); } -- cgit