summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-02-10 15:48:15 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-02-10 15:48:15 +0100
commitf8c0e544a905ba42c8b550409f492081534977f5 (patch)
tree59e0a86d38c041a01b5370b00b0202e0e45ac2c2 /src/plugins
parent87cb89bc82dc034996175c59b0b2553cab25a9ef (diff)
get rid of FILENAME_DESCRIPTION, rename "release" to "os_release"
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/abrt-action-bugzilla.cpp6
-rw-r--r--src/plugins/abrt-action-rhtsupport.c1
-rw-r--r--src/plugins/abrt-action-upload.c1
3 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/abrt-action-bugzilla.cpp b/src/plugins/abrt-action-bugzilla.cpp
index ed8a7e72..2aa32b75 100644
--- a/src/plugins/abrt-action-bugzilla.cpp
+++ b/src/plugins/abrt-action-bugzilla.cpp
@@ -448,7 +448,7 @@ xmlrpc_int32 ctx::new_bug(crash_data_t *crash_data, int depend_on_bugno)
{
const char *package = get_crash_item_content_or_NULL(crash_data, FILENAME_PACKAGE);
const char *component = get_crash_item_content_or_NULL(crash_data, FILENAME_COMPONENT);
- const char *release = get_crash_item_content_or_NULL(crash_data, FILENAME_RELEASE);
+ const char *release = get_crash_item_content_or_NULL(crash_data, FILENAME_OS_RELEASE);
const char *arch = get_crash_item_content_or_NULL(crash_data, FILENAME_ARCHITECTURE);
const char *duphash = get_crash_item_content_or_NULL(crash_data, FILENAME_DUPHASH);
const char *reason = get_crash_item_content_or_NULL(crash_data, FILENAME_REASON);
@@ -673,7 +673,7 @@ static void report_to_bugzilla(
const char *component = get_crash_item_content_or_NULL(crash_data, FILENAME_COMPONENT);
const char *duphash = get_crash_item_content_or_NULL(crash_data, FILENAME_DUPHASH);
- const char *release = get_crash_item_content_or_NULL(crash_data, FILENAME_RELEASE);
+ const char *release = get_crash_item_content_or_NULL(crash_data, FILENAME_OS_RELEASE);
ctx bz_server(bugzilla_xmlrpc, ssl_verify);
@@ -858,7 +858,7 @@ static void report_to_bugzilla(
if (dsc)
{
const char* package = get_crash_item_content_or_NULL(crash_data, FILENAME_PACKAGE);
- const char* release = get_crash_item_content_or_NULL(crash_data, FILENAME_RELEASE);
+ const char* release = get_crash_item_content_or_NULL(crash_data, FILENAME_OS_RELEASE);
const char* arch = get_crash_item_content_or_NULL(crash_data, FILENAME_ARCHITECTURE);
const char* is_private = get_crash_item_content_or_NULL(crash_data, "is_private");
diff --git a/src/plugins/abrt-action-rhtsupport.c b/src/plugins/abrt-action-rhtsupport.c
index d6d677ac..3ec81522 100644
--- a/src/plugins/abrt-action-rhtsupport.c
+++ b/src/plugins/abrt-action-rhtsupport.c
@@ -129,7 +129,6 @@ static void report_to_rhtsupport(
if (strcmp(name, CD_DUMPDIR) == 0) continue;
if (strcmp(name, FILENAME_INFORMALL) == 0) continue;
if (strcmp(name, FILENAME_MESSAGE) == 0) continue; // plugin's status message (if we already reported it yesterday)
- if (strcmp(name, FILENAME_DESCRIPTION) == 0) continue; // package description
const char *content = value->content;
if (value->flags & CD_FLAG_TXT)
diff --git a/src/plugins/abrt-action-upload.c b/src/plugins/abrt-action-upload.c
index 82c99fd5..b19f5bfb 100644
--- a/src/plugins/abrt-action-upload.c
+++ b/src/plugins/abrt-action-upload.c
@@ -161,7 +161,6 @@ static int create_and_upload_archive(
if (strcmp(short_name, CD_DUMPDIR) == 0) goto next;
if (strcmp(short_name, FILENAME_INFORMALL) == 0) goto next;
if (strcmp(short_name, FILENAME_MESSAGE) == 0) goto next; // plugin's status message (if we already reported it yesterday)
- if (strcmp(short_name, FILENAME_DESCRIPTION) == 0) goto next; // package description
// dd_get_next_file guarantees this:
//struct stat stbuf;
//if (stat(full_name, &stbuf) != 0)