Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8980:c8de2237478f HEAD
Message header parser didn't skip all LWSP at the beginning of headers, only one.
Patch by Johann Klasek.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 23 Apr 2009 12:01:40 -0400 |
parents | f8404c0f14de |
children | 5611bba3548b |
files | src/lib-mail/message-header-parser.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-mail/message-header-parser.c Wed Apr 22 13:54:54 2009 -0400 +++ b/src/lib-mail/message-header-parser.c Thu Apr 23 12:01:40 2009 -0400 @@ -284,7 +284,7 @@ Exception to this is if the value consists only of LWSP, then skip only the one LWSP after ':'. */ for (pos = 0; pos < line->value_len; pos++) { - if (!IS_LWSP(line->value[0])) + if (!IS_LWSP(line->value[pos])) break; }