diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-19 11:37:34 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-19 11:37:34 +0200 |
commit | 8506526caef2a99b8a308c2b0731472826aeb398 (patch) | |
tree | 4afa28dadcd595be7e8653517145ef8516a4bc3b /lib/plugins/Bugzilla.cpp | |
parent | 41473dbc4a685a4e33debaf2a9103da8bcd6429f (diff) | |
download | abrt-8506526caef2a99b8a308c2b0731472826aeb398.tar.gz abrt-8506526caef2a99b8a308c2b0731472826aeb398.tar.xz abrt-8506526caef2a99b8a308c2b0731472826aeb398.zip |
bugzilla: trivial cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'lib/plugins/Bugzilla.cpp')
-rw-r--r-- | lib/plugins/Bugzilla.cpp | 8 |
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)) { |