dovecot: imap_quote*() with LWSP compression: Make sure TABs are...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Feb 21 22:42:55 EET 2008
details: http://hg.dovecot.org/dovecot/rev/2c1768e723c7
changeset: 7280:2c1768e723c7
user: Timo Sirainen <tss at iki.fi>
date: Thu Feb 21 22:44:18 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 8a470f7fd622 -r 2c1768e723c7 src/lib-imap/imap-quote.c
--- a/src/lib-imap/imap-quote.c Thu Feb 21 21:34:04 2008 +0200
+++ b/src/lib-imap/imap-quote.c Thu Feb 21 22:44:18 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