summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Bugzilla.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-29 12:46:18 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-29 12:46:18 +0200
commit1e752b178131fa0268151219deb35e09c40e29bc (patch)
tree0b6bbed34179f605d7e6759211a010edea19f9d5 /lib/Plugins/Bugzilla.cpp
parent52291c1024050d25967b5640b04d67166b7728d2 (diff)
downloadabrt-1e752b178131fa0268151219deb35e09c40e29bc.tar.gz
abrt-1e752b178131fa0268151219deb35e09c40e29bc.tar.xz
abrt-1e752b178131fa0268151219deb35e09c40e29bc.zip
rework commlayerinner usage
new lock method in debugdump
Diffstat (limited to 'lib/Plugins/Bugzilla.cpp')
-rw-r--r--lib/Plugins/Bugzilla.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 7a56966..73b5b0e 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 <iostream>
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();
}