summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-18 19:46:29 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-18 19:46:29 +0100
commite8a1a7159416e7a7a343666baae8668f4eeb5209 (patch)
tree2eda92dacf245b9aace4bac6d33f4937c3539c32 /lib
parenta8c6f96eed97ac484343ecf731d4e0859049a2c4 (diff)
downloadabrt-e8a1a7159416e7a7a343666baae8668f4eeb5209.tar.gz
abrt-e8a1a7159416e7a7a343666baae8668f4eeb5209.tar.xz
abrt-e8a1a7159416e7a7a343666baae8668f4eeb5209.zip
include abrt version in bug descriptions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/Bugzilla.cpp2
-rw-r--r--lib/Plugins/Catcut.cpp2
-rw-r--r--lib/Plugins/SQLite3.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Plugins/Bugzilla.cpp b/lib/Plugins/Bugzilla.cpp
index 1e79a66..7ddacf7 100644
--- a/lib/Plugins/Bugzilla.cpp
+++ b/lib/Plugins/Bugzilla.cpp
@@ -16,7 +16,7 @@
static void create_new_bug_description(const map_crash_report_t& pCrashReport, std::string& pDescription)
{
- pDescription = "abrt detected a crash.\n\n";
+ pDescription = "abrt "VERSION" detected a crash.\n\n";
pDescription += make_description_bz(pCrashReport);
}
diff --git a/lib/Plugins/Catcut.cpp b/lib/Plugins/Catcut.cpp
index 7fd6e89..cf1d7d9 100644
--- a/lib/Plugins/Catcut.cpp
+++ b/lib/Plugins/Catcut.cpp
@@ -33,7 +33,7 @@ static void create_new_bug_description(const map_crash_report_t& pCrashReport, s
"-----\n" +
pCrashReport.find(CD_COMMENT)->second[CD_CONTENT];
}
- pDescription = "\nabrt detected a crash.\n" +
+ pDescription = "\nabrt "VERSION" detected a crash.\n" +
howToReproduce +
comment +
"\n\nAdditional information\n"
diff --git a/lib/Plugins/SQLite3.cpp b/lib/Plugins/SQLite3.cpp
index 709a16c..cc639da 100644
--- a/lib/Plugins/SQLite3.cpp
+++ b/lib/Plugins/SQLite3.cpp
@@ -34,7 +34,7 @@
// after a while, we can drop support for update, so a table can stay in
// normal limits
-static const char* upate_sql_commands[][ABRT_TABLE_VERSION + 1] = {
+static const char *const upate_sql_commands[][ABRT_TABLE_VERSION + 1] = {
// v0 -> *
{
// v0 -> v0