summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare/MiddleWare.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-02-26 16:29:37 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-02-26 16:29:37 +0100
commitefdfd9ce551dde9707d0fe2ed1108a43369d835e (patch)
tree56a92ca234c972e76624061ca0962eb6ac03d3db /lib/MiddleWare/MiddleWare.cpp
parent5dc43e9595943ab5a1e8045ced5f6040f94e1180 (diff)
parentdb760442ecdbf776648fbd19aa32083722e5b10f (diff)
downloadabrt-efdfd9ce551dde9707d0fe2ed1108a43369d835e.tar.gz
abrt-efdfd9ce551dde9707d0fe2ed1108a43369d835e.tar.xz
abrt-efdfd9ce551dde9707d0fe2ed1108a43369d835e.zip
Merge branch 'master' of git://git.fedorahosted.org/git/crash-catcher
Diffstat (limited to 'lib/MiddleWare/MiddleWare.cpp')
-rw-r--r--lib/MiddleWare/MiddleWare.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/MiddleWare/MiddleWare.cpp b/lib/MiddleWare/MiddleWare.cpp
index d60e645..161b1f8 100644
--- a/lib/MiddleWare/MiddleWare.cpp
+++ b/lib/MiddleWare/MiddleWare.cpp
@@ -183,13 +183,10 @@ void CMiddleWare::CreateReportApplication(const std::string& pApplication,
return application->CreateReport(pDebugDumpDir);
}
-#include <iostream>
-#include <stdio.h>
void CMiddleWare::CreateReport(const std::string& pUUID,
const std::string& pUID,
crash_report_t& pCrashReport)
{
- std::cout << "CMiddleWare::CreateReport() s" << std::endl;
CDatabase* database = m_pPluginManager->GetDatabase(m_sDatabase);
database_row_t row;
database->Connect();
@@ -219,27 +216,14 @@ void CMiddleWare::CreateReport(const std::string& pUUID,
}
dd.SaveText(FILENAME_UUID, UUID);
dd.Close();
- fflush(stdout);
- fflush(stderr);
- std::cerr << "CMiddleWare::CreateReport() e1" << std::endl;
- fflush(stdout);
- fflush(stderr);
DebugDump2Report(row.m_sDebugDumpDir, pCrashReport);
- fflush(stdout);
- fflush(stderr);
- std::cerr << "CMiddleWare::CreateReport() e2" << std::endl;
pCrashReport.m_sMWID = appLan + ";" + pUID + ";" + pUUID ;
- fflush(stdout);
- fflush(stderr);
-
- std::cerr << "CMiddleWare::CreateReport() e3" << std::endl;
}
void CMiddleWare::Report(const crash_report_t& pCrashReport)
{
- std::cout << "CMiddleWare::Report() s" << std::endl;
std::string::size_type pos1 = 0;
std::string::size_type pos2 = pCrashReport.m_sMWID.find(";", pos1);
std::string lanAppPlugin = pCrashReport.m_sMWID.substr(pos1, pos2);
@@ -265,7 +249,6 @@ void CMiddleWare::Report(const crash_report_t& pCrashReport)
reporter->Report(pCrashReport);
}
}
- std::cout << "CMiddleWare::Report() e" << std::endl;
}
void CMiddleWare::DeleteDebugDump(const std::string& pUUID,