summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsReporter.cpp
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-01-20 18:51:28 +0100
committerKarel Klic <kklic@redhat.com>2010-01-20 18:51:28 +0100
commitbbb210c836aaa6487e643176548b8b3feb11c347 (patch)
tree4a12b2a9672c639ddf9042a8d6bb06b14821d983 /lib/Plugins/KerneloopsReporter.cpp
parentd8ea20ec8a17f387ea75f4a19cadfbd33699d1d9 (diff)
parent932c4d77abddb62ca4df1aca6d6c7d4e634a9e8d (diff)
downloadabrt-bbb210c836aaa6487e643176548b8b3feb11c347.tar.gz
abrt-bbb210c836aaa6487e643176548b8b3feb11c347.tar.xz
abrt-bbb210c836aaa6487e643176548b8b3feb11c347.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Plugins/KerneloopsReporter.cpp')
-rw-r--r--lib/Plugins/KerneloopsReporter.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Plugins/KerneloopsReporter.cpp b/lib/Plugins/KerneloopsReporter.cpp
index 5cb525bc..18932aea 100644
--- a/lib/Plugins/KerneloopsReporter.cpp
+++ b/lib/Plugins/KerneloopsReporter.cpp
@@ -30,8 +30,6 @@
#include "CommLayerInner.h"
#include "ABRTException.h"
-#define FILENAME_KERNELOOPS "kerneloops"
-
/* helpers */
static size_t writefunction(void *ptr, size_t size, size_t nmemb, void *stream)
{
@@ -93,7 +91,7 @@ CKerneloopsReporter::CKerneloopsReporter() :
m_sSubmitURL("http://submit.kerneloops.org/submitoops.php")
{}
-std::string CKerneloopsReporter::Report(const map_crash_report_t& pCrashReport,
+std::string CKerneloopsReporter::Report(const map_crash_data_t& pCrashData,
const map_plugin_settings_t& pSettings,
const char *pArgs)
{
@@ -101,8 +99,8 @@ std::string CKerneloopsReporter::Report(const map_crash_report_t& pCrashReport,
update_client(_("Creating and submitting a report..."));
- map_crash_report_t::const_iterator it = pCrashReport.find(FILENAME_KERNELOOPS);
- if (it != pCrashReport.end()) {
+ map_crash_data_t::const_iterator it = pCrashData.find(FILENAME_KERNELOOPS);
+ if (it != pCrashData.end()) {
ret = http_post_to_kerneloops_site(
m_sSubmitURL.c_str(),
it->second[CD_CONTENT].c_str()