diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/abrt-action-bugzilla.cpp | 11 | ||||
-rw-r--r-- | src/plugins/abrt-action-rhtsupport.c | 1 | ||||
-rw-r--r-- | src/plugins/abrt-action-upload.c | 1 |
3 files changed, 10 insertions, 3 deletions
diff --git a/src/plugins/abrt-action-bugzilla.cpp b/src/plugins/abrt-action-bugzilla.cpp index b24d8c3a..79e83b3b 100644 --- a/src/plugins/abrt-action-bugzilla.cpp +++ b/src/plugins/abrt-action-bugzilla.cpp @@ -861,7 +861,7 @@ static void report_to_bugzilla( free(dsc); - bool is_priv = is_private && (is_private[0] == '1'); + bool is_priv = is_private && string_to_bool(is_private); if (bz_server.add_comment(bug_id, full_dsc, is_priv) == -1) { free(full_dsc); @@ -883,6 +883,15 @@ static void report_to_bugzilla( (int)bug_id ); + dd = dd_opendir(dump_dir_name, /*flags:*/ 0); + if (dd) + { + char *msg = xasprintf("Bugzilla: URL=%s/show_bug.cgi?id=%u", bugzilla_url, (int)bug_id); + add_reported_to(dd, msg); + free(msg); + dd_close(dd); + } + free_crash_data(crash_data); bug_info_destroy(&bz); } diff --git a/src/plugins/abrt-action-rhtsupport.c b/src/plugins/abrt-action-rhtsupport.c index 94523e08..d7f93ea9 100644 --- a/src/plugins/abrt-action-rhtsupport.c +++ b/src/plugins/abrt-action-rhtsupport.c @@ -128,7 +128,6 @@ static void report_to_rhtsupport( if (strcmp(name, FILENAME_COUNT) == 0) continue; 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) 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 88380bd7..8556e142 100644 --- a/src/plugins/abrt-action-upload.c +++ b/src/plugins/abrt-action-upload.c @@ -160,7 +160,6 @@ static int create_and_upload_archive( if (strcmp(short_name, FILENAME_COUNT) == 0) goto next; 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) // dd_get_next_file guarantees this: //struct stat stbuf; //if (stat(full_name, &stbuf) != 0) |