summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare/test.cpp
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-02-25 11:56:24 +0100
committerZdenek Prikryl <zprikryl@redhat.com>2009-02-25 11:56:24 +0100
commita868a8470a37437ddff73b4697698684037d6e99 (patch)
tree54d2454d5551fd1b241d8536cbe7bd07da8f7797 /lib/MiddleWare/test.cpp
parent5c2148b539d7c26175381f3875b517a1a5136d84 (diff)
downloadabrt-a868a8470a37437ddff73b4697698684037d6e99.tar.gz
abrt-a868a8470a37437ddff73b4697698684037d6e99.tar.xz
abrt-a868a8470a37437ddff73b4697698684037d6e99.zip
updated test
Diffstat (limited to 'lib/MiddleWare/test.cpp')
-rw-r--r--lib/MiddleWare/test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/MiddleWare/test.cpp b/lib/MiddleWare/test.cpp
index 3c2a055f..02312790 100644
--- a/lib/MiddleWare/test.cpp
+++ b/lib/MiddleWare/test.cpp
@@ -46,20 +46,20 @@ int main(int argc, char** argv)
dd.SaveBinary(FILENAME_BINARYDATA1, "ass0-9as", sizeof("ass0-9as"));
/* Try to save it into DB */
- crash_info_t info;
- if (middleWare.SaveDebugDump(std::string(DEBUG_DUMPS_DIR)+"/"+pid, info))
+ crash_info_t crashInfo;
+ if (middleWare.SaveDebugDump(std::string(DEBUG_DUMPS_DIR)+"/"+pid, crashInfo))
{
std::cout << "Application Crashed! " <<
- "(" << info.m_sTime << " [" << info.m_sCount << "]) " <<
- info.m_sPackage << ": " <<
- info.m_sExecutable << std::endl;
+ "(" << crashInfo.m_sTime << " [" << crashInfo.m_sCount << "]) " <<
+ crashInfo.m_sPackage << ": " <<
+ crashInfo.m_sExecutable << std::endl;
/* Get Report, so user can change data (remove private stuff)
* If we do not want user interaction, just send data immediately
*/
crash_context_t crashContext;
crash_report_t crashReport;
- middleWare.CreateReport(info.m_sUUID, info.m_sUID, crashContext, crashReport);
+ middleWare.CreateReport(crashInfo.m_sUUID, crashInfo.m_sUID, crashContext, crashReport);
/* Report crash */
middleWare.Report(crashContext, crashReport);
}