summaryrefslogtreecommitdiffstats
path: root/lib/plugins/Bugzilla.cpp
diff options
context:
space:
mode:
authorMichal Toman <mtoman@redhat.com>2010-10-19 12:26:24 +0200
committerMichal Toman <mtoman@redhat.com>2010-10-19 12:26:24 +0200
commit65446ccfa3bfc4f4c6f4b8e09dda3ec851a3502f (patch)
tree7e04970163da467d156f9f0ee9d1ba34a2b85c03 /lib/plugins/Bugzilla.cpp
parent8ccb8e59a6f295481b1d0b664701bb421b041e28 (diff)
parentf4546e160a6dda28009d1d13a6439448f4e6c608 (diff)
downloadabrt-65446ccfa3bfc4f4c6f4b8e09dda3ec851a3502f.tar.gz
abrt-65446ccfa3bfc4f4c6f4b8e09dda3ec851a3502f.tar.xz
abrt-65446ccfa3bfc4f4c6f4b8e09dda3ec851a3502f.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/plugins/Bugzilla.cpp')
-rw-r--r--lib/plugins/Bugzilla.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/plugins/Bugzilla.cpp b/lib/plugins/Bugzilla.cpp
index 7b914dbd..8d895bad 100644
--- a/lib/plugins/Bugzilla.cpp
+++ b/lib/plugins/Bugzilla.cpp
@@ -18,10 +18,12 @@
*/
#include "abrtlib.h"
-#include "Bugzilla.h"
#include "crash_types.h"
#include "abrt_exception.h"
#include "comm_layer_inner.h"
+#include "Bugzilla.h"
+
+using namespace std;
CReporterBugzilla::CReporterBugzilla()
{
@@ -70,7 +72,7 @@ void CReporterBugzilla::SetSettings(const map_plugin_settings_t& pSettings)
}
}
-std::string CReporterBugzilla::Report(const map_crash_data_t& crash_data,
+string CReporterBugzilla::Report(const map_crash_data_t& crash_data,
const map_plugin_settings_t& settings,
const char *args)
{
@@ -117,7 +119,7 @@ std::string CReporterBugzilla::Report(const map_crash_data_t& crash_data,
die_out_of_memory();
/* Consume log from stdout */
- std::string bug_status;
+ string bug_status;
char buf[512];
while (fgets(buf, sizeof(buf), fp))
{