summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-04-07 17:59:37 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-04-07 17:59:37 +0200
commit5c4a18fdd9795abaed59d3f5718d60cecde889ab (patch)
treed0033363b09ebe9bab85be8a0878591a0897d1fd
parentbcfcaa2f737332665a9e4ea54ce6caa1f713afda (diff)
downloadabrt-5c4a18fdd9795abaed59d3f5718d60cecde889ab.tar.gz
abrt-5c4a18fdd9795abaed59d3f5718d60cecde889ab.tar.xz
abrt-5c4a18fdd9795abaed59d3f5718d60cecde889ab.zip
Added "Comment" to report
-rw-r--r--lib/MiddleWare/CrashTypes.h1
-rw-r--r--lib/MiddleWare/MiddleWare.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/MiddleWare/CrashTypes.h b/lib/MiddleWare/CrashTypes.h
index b285ee6..69b5cd4 100644
--- a/lib/MiddleWare/CrashTypes.h
+++ b/lib/MiddleWare/CrashTypes.h
@@ -27,6 +27,7 @@
#define CI_DESCRIPTION "Description"
#define CI_TIME "Time"
#define CI_REPORTED "Reported"
+#define CI_COMMENT "Comment"
#define CI_MWANALYZER "_MWAnalyzer"
#define CI_MWUID "_MWUID"
#define CI_MWUUID "_MWUUID"
diff --git a/lib/MiddleWare/MiddleWare.cpp b/lib/MiddleWare/MiddleWare.cpp
index c0465c5..29121db 100644
--- a/lib/MiddleWare/MiddleWare.cpp
+++ b/lib/MiddleWare/MiddleWare.cpp
@@ -157,6 +157,7 @@ void CMiddleWare::CreateCrashReport(const std::string& pUUID,
add_crash_data_to_crash_report(pCrashReport, CI_MWANALYZER, CD_SYS, CD_ISNOTEDITABLE, analyzer);
add_crash_data_to_crash_report(pCrashReport, CI_MWUID, CD_SYS, CD_ISNOTEDITABLE, pUID);
add_crash_data_to_crash_report(pCrashReport, CI_MWUUID, CD_SYS, CD_ISNOTEDITABLE, pUUID);
+ add_crash_data_to_crash_report(pCrashReport, CI_COMMENT, CD_TXT, CD_ISEDITABLE, "");
}
void CMiddleWare::Report(const map_crash_report_t& pCrashReport)