From 1912a7c3980713ccc81e9fd2895873e29dc519a2 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 28 Apr 2011 22:02:46 +0200 Subject: Logger: output "END:" line to delimit appended reports. closes bz#698458 Also changes Bugzilla and abrt-cli output format. Signed-off-by: Denys Vlasenko --- src/plugins/abrt-action-bugzilla.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/plugins/abrt-action-bugzilla.cpp') diff --git a/src/plugins/abrt-action-bugzilla.cpp b/src/plugins/abrt-action-bugzilla.cpp index d0281ce7..6f551e2c 100644 --- a/src/plugins/abrt-action-bugzilla.cpp +++ b/src/plugins/abrt-action-bugzilla.cpp @@ -530,8 +530,10 @@ int ctx::add_attachments(const char* bug_id_str, problem_data_t *problem_data) { const char *content = value->content; + // We were special-casing FILENAME_BACKTRACE here, but karel says + // he can retrieve it in inlined form from comments too. if ((value->flags & CD_FLAG_TXT) - && (strlen(content) > CD_TEXT_ATT_SIZE || (strcmp(name, FILENAME_BACKTRACE) == 0)) + && (strlen(content) > CD_TEXT_ATT_SIZE /*|| (strcmp(name, FILENAME_BACKTRACE) == 0)*/) ) { char *encoded64 = encode_base64(content, strlen(content)); char *filename = xasprintf("File: %s", name); -- cgit