dovecot-1.1: imap_quote*() with LWSP compression: Make sure TABs...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Feb 21 22:42:51 EET 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/f70c4d501251
changeset: 7283:f70c4d501251
user: Timo Sirainen <tss at iki.fi>
date: Thu Feb 21 22:44:19 2008 +0200
description:
imap_quote*() with LWSP compression: Make sure TABs are always converted to
spaces.
diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
src/lib-imap/imap-quote.c | 4 +++-
diffs (15 lines):
diff -r bbae5b6b6d2b -r f70c4d501251 src/lib-imap/imap-quote.c
--- a/src/lib-imap/imap-quote.c Thu Feb 21 21:34:07 2008 +0200
+++ b/src/lib-imap/imap-quote.c Thu Feb 21 22:44:19 2008 +0200
@@ -26,8 +26,10 @@ void imap_quote_append(string_t *str, co
modify = TRUE;
last_lwsp = FALSE;
break;
+ case '\t':
+ modify = TRUE;
+ /* fall through */
case ' ':
- case '\t':
if (last_lwsp && compress_lwsp) {
modify = TRUE;
extra++;
More information about the dovecot-cvs
mailing list