diff options
| author | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-04-01 13:01:28 +0200 |
|---|---|---|
| committer | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-04-01 13:01:28 +0200 |
| commit | 2d1c2342637bb6d761cb115ac97c4a7bc51141ab (patch) | |
| tree | 1160c973bce827644a660528b7ca3a13a9b8d199 /lib | |
| parent | 99a0819d935bbdfb34226e54ff50ed78b1fc6da0 (diff) | |
| download | abrt-2d1c2342637bb6d761cb115ac97c4a7bc51141ab.tar.gz abrt-2d1c2342637bb6d761cb115ac97c4a7bc51141ab.tar.xz abrt-2d1c2342637bb6d761cb115ac97c4a7bc51141ab.zip | |
added new DebugDump support
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Plugins/KerneloopsReporter.cpp | 4 | ||||
| -rw-r--r-- | lib/Plugins/KerneloopsReporter.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Plugins/KerneloopsReporter.cpp b/lib/Plugins/KerneloopsReporter.cpp index 58ea2d4..fc0ab97 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", diff --git a/lib/Plugins/KerneloopsReporter.h b/lib/Plugins/KerneloopsReporter.h index 1a6757c..668c0fa 100644 --- a/lib/Plugins/KerneloopsReporter.h +++ b/lib/Plugins/KerneloopsReporter.h @@ -42,7 +42,7 @@ class CKerneloopsReporter : public CReporter virtual ~CKerneloopsReporter() {} void LoadSettings(const std::string& pPath); - void Report(const crash_report_t& pReport); + void Report(const crash_report_t& pCrashReport); }; PLUGIN_INFO(REPORTER, |
