diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-05-23 17:38:40 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-05-23 17:38:40 +0200 |
commit | 1c37993c45fdb8fc27694488d496f3228444c23f (patch) | |
tree | cd2dc0a915c34d721afcf5b8b38ee8e796f96195 /src/plugins | |
parent | 8c3b73df092802404578ee882a80cb8132012775 (diff) | |
download | abrt-1c37993c45fdb8fc27694488d496f3228444c23f.tar.gz abrt-1c37993c45fdb8fc27694488d496f3228444c23f.tar.xz abrt-1c37993c45fdb8fc27694488d496f3228444c23f.zip |
rename "global_uuid" element to "duphash"
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/abrt-action-bugzilla.c | 2 | ||||
-rw-r--r-- | src/plugins/rhbz.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/abrt-action-bugzilla.c b/src/plugins/abrt-action-bugzilla.c index 5483e420..d617d4bb 100644 --- a/src/plugins/abrt-action-bugzilla.c +++ b/src/plugins/abrt-action-bugzilla.c @@ -57,6 +57,8 @@ static void report_to_bugzilla(const char *dump_dir_name, map_string_h *settings const char *component = get_problem_item_content_or_NULL(problem_data, FILENAME_COMPONENT); const char *duphash = get_problem_item_content_or_NULL(problem_data, FILENAME_DUPHASH); +//COMPAT, remove after 2.1 release + if (!duphash) duphash = get_problem_item_content_or_NULL(problem_data, "global_uuid"); if (!duphash) error_msg_and_die(_("Essential file '%s' is missing, can't continue.."), FILENAME_DUPHASH); diff --git a/src/plugins/rhbz.c b/src/plugins/rhbz.c index 86cd86d7..cd3a07a7 100644 --- a/src/plugins/rhbz.c +++ b/src/plugins/rhbz.c @@ -294,6 +294,9 @@ int rhbz_new_bug(struct abrt_xmlrpc *ax, problem_data_t *problem_data, FILENAME_ARCHITECTURE); const char *duphash = get_problem_item_content_or_NULL(problem_data, FILENAME_DUPHASH); +//COMPAT, remove after 2.1 release + if (!duphash) duphash = get_problem_item_content_or_NULL(problem_data, + "global_uuid"); const char *reason = get_problem_item_content_or_NULL(problem_data, FILENAME_REASON); const char *function = get_problem_item_content_or_NULL(problem_data, |