From 62a15a2e7cc5186661bef2ec172422989c72e5db Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Thu, 2 Apr 2009 16:24:46 +0200 Subject: new crash types --- lib/Plugins/KerneloopsReporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Plugins/KerneloopsReporter.cpp') 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", -- cgit