summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsReporter.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-02 16:24:46 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-02 16:24:46 +0200
commit62a15a2e7cc5186661bef2ec172422989c72e5db (patch)
tree8561ea8bfabbb1136a6ca7b222f18c7a6f343eb7 /lib/Plugins/KerneloopsReporter.cpp
parentf02f0b3c6b8801584884fb2e4da0707417374185 (diff)
downloadabrt-62a15a2e7cc5186661bef2ec172422989c72e5db.tar.gz
abrt-62a15a2e7cc5186661bef2ec172422989c72e5db.tar.xz
abrt-62a15a2e7cc5186661bef2ec172422989c72e5db.zip
new crash types
Diffstat (limited to 'lib/Plugins/KerneloopsReporter.cpp')
-rw-r--r--lib/Plugins/KerneloopsReporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/KerneloopsReporter.cpp b/lib/Plugins/KerneloopsReporter.cpp
index 1bf485c..116fc8d 100644
--- a/lib/Plugins/KerneloopsReporter.cpp
+++ b/lib/Plugins/KerneloopsReporter.cpp
@@ -55,7 +55,7 @@ size_t writefunction(void *ptr, size_t size, size_t nmemb, void __attribute((unu
return size * nmemb;
}
-void CKerneloopsReporter::Report(const crash_report_t& pCrashReport)
+void CKerneloopsReporter::Report(const map_crash_report_t& pCrashReport)
{
CURL *handle;
struct curl_httppost *post = NULL;
@@ -66,7 +66,7 @@ void CKerneloopsReporter::Report(const crash_report_t& pCrashReport)
curl_formadd(&post, &last,
CURLFORM_COPYNAME, "oopsdata",
- CURLFORM_COPYCONTENTS, pCrashReport.find(FILENAME_TEXTDATA1)->second.m_sContent.c_str(),
+ CURLFORM_COPYCONTENTS, pCrashReport.find(FILENAME_TEXTDATA1)->second[CD_CONTENT].c_str(),
CURLFORM_END);
curl_formadd(&post, &last,
CURLFORM_COPYNAME, "pass_on_allowed",