summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsReporter.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-01 13:01:28 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-01 13:01:28 +0200
commit2d1c2342637bb6d761cb115ac97c4a7bc51141ab (patch)
tree1160c973bce827644a660528b7ca3a13a9b8d199 /lib/Plugins/KerneloopsReporter.cpp
parent99a0819d935bbdfb34226e54ff50ed78b1fc6da0 (diff)
downloadabrt-2d1c2342637bb6d761cb115ac97c4a7bc51141ab.tar.gz
abrt-2d1c2342637bb6d761cb115ac97c4a7bc51141ab.tar.xz
abrt-2d1c2342637bb6d761cb115ac97c4a7bc51141ab.zip
added new DebugDump support
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 58ea2d47..fc0ab977 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& pReport)
+void CKerneloopsReporter::Report(const crash_report_t& pCrashReport)
{
CURL *handle;
struct curl_httppost *post = NULL;
@@ -66,7 +66,7 @@ void CKerneloopsReporter::Report(const crash_report_t& pReport)
curl_formadd(&post, &last,
CURLFORM_COPYNAME, "oopsdata",
- CURLFORM_COPYCONTENTS, pReport.m_sTextData1.c_str(),
+ CURLFORM_COPYCONTENTS, pCrashReport.find(FILENAME_TEXTDATA1)->second.m_sContent.c_str(),
CURLFORM_END);
curl_formadd(&post, &last,
CURLFORM_COPYNAME, "pass_on_allowed",