diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-03 13:35:15 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-03-03 13:35:15 +0100 |
commit | fd5c97267cda4cfbc23e367fc1338aa0988a8b44 (patch) | |
tree | bb98c6f3fa9678600dcc36494870cc265513e6e6 /src/daemon/MiddleWare.cpp | |
parent | ef96cd431369b2cf0dd640a0bb66be4fb029b9c0 (diff) | |
download | abrt-fd5c97267cda4cfbc23e367fc1338aa0988a8b44.tar.gz abrt-fd5c97267cda4cfbc23e367fc1338aa0988a8b44.tar.xz abrt-fd5c97267cda4cfbc23e367fc1338aa0988a8b44.zip |
remove FILENAME_REPRODUCE field. FILENAME_COMMENT should be used instead
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/MiddleWare.cpp')
-rw-r--r-- | src/daemon/MiddleWare.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp index 2757d84f..809716aa 100644 --- a/src/daemon/MiddleWare.cpp +++ b/src/daemon/MiddleWare.cpp @@ -238,13 +238,12 @@ report_status_t Report(crash_data_t *client_report, } } - // Save comment, "how to reproduce", backtrace + // Save comment, backtrace //TODO: we should iterate through stored_report and modify all //modifiable fields which have new data in client_report const char *comment = get_crash_item_content_or_NULL(client_report, FILENAME_COMMENT); - const char *reproduce = get_crash_item_content_or_NULL(client_report, FILENAME_REPRODUCE); const char *backtrace = get_crash_item_content_or_NULL(client_report, FILENAME_BACKTRACE); - if (comment || reproduce || backtrace) + if (comment || backtrace) { struct dump_dir *dd = dd_opendir(dump_dir_name, /*flags:*/ 0); if (dd) @@ -254,11 +253,6 @@ report_status_t Report(crash_data_t *client_report, dd_save_text(dd, FILENAME_COMMENT, comment); add_to_crash_data_ext(stored_report, FILENAME_COMMENT, comment, CD_FLAG_TXT + CD_FLAG_ISEDITABLE); } - if (reproduce) - { - dd_save_text(dd, FILENAME_REPRODUCE, reproduce); - add_to_crash_data_ext(stored_report, FILENAME_REPRODUCE, reproduce, CD_FLAG_TXT + CD_FLAG_ISEDITABLE); - } if (backtrace) { dd_save_text(dd, FILENAME_BACKTRACE, backtrace); |