diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-31 02:26:59 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-31 02:26:59 +0100 |
| commit | bc2da7891acc79a77de00e89f2fe39660dee228e (patch) | |
| tree | 9577341f7113e80512eb4dc53265ef60f7f6044c /lib/Utils | |
| parent | d0962176b885a32b1c5aecd5ac3c0d23447c3d09 (diff) | |
| download | abrt-bc2da7891acc79a77de00e89f2fe39660dee228e.tar.gz abrt-bc2da7891acc79a77de00e89f2fe39660dee228e.tar.xz abrt-bc2da7891acc79a77de00e89f2fe39660dee228e.zip | |
implement abrtd -t TIMEOUT_IN_SEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils')
| -rw-r--r-- | lib/Utils/make_descr.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Utils/make_descr.cpp b/lib/Utils/make_descr.cpp index 71b9191..ee37291 100644 --- a/lib/Utils/make_descr.cpp +++ b/lib/Utils/make_descr.cpp @@ -98,6 +98,9 @@ string make_description_logger(const map_crash_report_t& pCrashReport) || type == CD_ATT || type == CD_BIN ) { + if (content == "1.\n2.\n3.\n") + continue; /* user did not change default "How to reproduce" */ + bool was_multiline = 0; string tmp; add_content(was_multiline, tmp, filename.c_str(), content.c_str()); @@ -115,7 +118,7 @@ string make_description_logger(const map_crash_report_t& pCrashReport) } } - if (long_description.size() != 0) + if (description.size() != 0 && long_description.size() != 0) { description += '\n'; description += long_description; |
