dovecot-2.2: imap: Avoid double-quoting non-atom header field
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 24 09:21:17 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/e8181fc25500
changeset: 15241:e8181fc25500
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 24 09:21:00 2012 +0300
description:
imap: Avoid double-quoting non-atom header field
diffstat:
src/imap/imap-fetch-body.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (16 lines):
diff -r 92d5b8133bf2 -r e8181fc25500 src/imap/imap-fetch-body.c
--- a/src/imap/imap-fetch-body.c Tue Oct 23 20:46:35 2012 +0300
+++ b/src/imap/imap-fetch-body.c Wed Oct 24 09:21:00 2012 +0300
@@ -221,11 +221,8 @@
if (args[i].type == IMAP_ARG_ATOM)
str_append(str, value);
- else {
- str_append_c(str, '"');
+ else
imap_dquote_append(str, value);
- str_append_c(str, '"');
- }
}
str_append_c(str, ')');
body->section = str_c(str);
More information about the dovecot-cvs
mailing list