diff options
| author | Karel Klic <kklic@redhat.com> | 2010-01-21 16:41:03 +0100 |
|---|---|---|
| committer | Karel Klic <kklic@redhat.com> | 2010-01-21 16:41:03 +0100 |
| commit | 44d7d1e6acb25dc719838560b002514fc51b62c3 (patch) | |
| tree | cfe5b65535df09f70838dfdcb4f45038fd5aa2b7 /lib/Utils/make_descr.cpp | |
| parent | 9774d96f40919e6b7dccb55739bb4ed52c0b90ba (diff) | |
| parent | 3d7774875fab22b5fa9e21767c57be54e96ebaeb (diff) | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Utils/make_descr.cpp')
| -rw-r--r-- | lib/Utils/make_descr.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/Utils/make_descr.cpp b/lib/Utils/make_descr.cpp index e74e9b1..a3ff5e2 100644 --- a/lib/Utils/make_descr.cpp +++ b/lib/Utils/make_descr.cpp @@ -58,13 +58,13 @@ string make_description_bz(const map_crash_data_t& pCrashData) map_crash_data_t::const_iterator end = pCrashData.end(); bool was_multiline = 0; - it = pCrashData.find(CD_REPRODUCE); + it = pCrashData.find(FILENAME_REPRODUCE); if (it != end && it->second[CD_CONTENT] != "1.\n2.\n3.\n") { add_content(was_multiline, description, "How to reproduce", it->second[CD_CONTENT].c_str()); } - it = pCrashData.find(CD_COMMENT); + it = pCrashData.find(FILENAME_COMMENT); if (it != end) { add_content(was_multiline, description, "Comment", it->second[CD_CONTENT].c_str()); @@ -80,11 +80,11 @@ string make_description_bz(const map_crash_data_t& pCrashData) { if (content.size() <= CD_TEXT_ATT_SIZE) { - if (filename != CD_UUID + if (filename != CD_DUPHASH && filename != FILENAME_ARCHITECTURE && filename != FILENAME_RELEASE - && filename != CD_REPRODUCE - && filename != CD_COMMENT + && filename != FILENAME_REPRODUCE + && filename != FILENAME_COMMENT ) { add_content(was_multiline, description, filename.c_str(), content.c_str()); } @@ -147,7 +147,7 @@ string make_description_catcut(const map_crash_data_t& pCrashData) map_crash_data_t::const_iterator it; string howToReproduce; - it = pCrashData.find(CD_REPRODUCE); + it = pCrashData.find(FILENAME_REPRODUCE); if (it != end) { howToReproduce = "\n\nHow to reproduce\n" @@ -155,7 +155,7 @@ string make_description_catcut(const map_crash_data_t& pCrashData) howToReproduce += it->second[CD_CONTENT]; } string comment; - it = pCrashData.find(CD_COMMENT); + it = pCrashData.find(FILENAME_COMMENT); if (it != end) { comment = "\n\nComment\n" @@ -178,11 +178,11 @@ string make_description_catcut(const map_crash_data_t& pCrashData) { if (content.length() <= CD_TEXT_ATT_SIZE) { - if (filename != CD_UUID + if (filename != CD_DUPHASH && filename != FILENAME_ARCHITECTURE && filename != FILENAME_RELEASE - && filename != CD_REPRODUCE - && filename != CD_COMMENT + && filename != FILENAME_REPRODUCE + && filename != FILENAME_COMMENT ) { pDescription += '\n'; pDescription += filename; |
