Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7283:f70c4d501251 HEAD
imap_quote*() with LWSP compression: Make sure TABs are always converted to
spaces.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 21 Feb 2008 22:44:19 +0200 |
parents | bbae5b6b6d2b |
children | 346d4a44c2f4 |
files | src/lib-imap/imap-quote.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ modify = TRUE; last_lwsp = FALSE; break; + case '\t': + modify = TRUE; + /* fall through */ case ' ': - case '\t': if (last_lwsp && compress_lwsp) { modify = TRUE; extra++;