[evolution-data-server] Bug 751462 - Include header name length when folding long lines
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 751462 - Include header name length when folding long lines
- Date: Thu, 25 Jun 2015 20:52:11 +0000 (UTC)
commit d740341dcbaa34a57cdaf8d2ec07d74a633521d8
Author: Arthur de Jong <adejong debian org>
Date: Thu Jun 25 22:50:39 2015 +0200
Bug 751462 - Include header name length when folding long lines
camel/camel-mime-utils.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 6fae183..872474f 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -5236,12 +5236,9 @@ camel_header_fold (const gchar *in,
g_string_truncate (out, out->len - 1);
g_string_append_c (out, '\n');
g_string_append_c (out, spc);
- } else {
- g_string_append (out, "\n\t");
+ outlen = 1;
}
- outlen = 1;
-
/* check for very long words, just cut them up */
while (outlen + len > CAMEL_FOLD_MAX_SIZE) {
tmplen = CAMEL_FOLD_MAX_SIZE - outlen;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]