Mercurial > dovecot > original-hg > dovecot-1.1
changeset 8252:685c1be82282 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 | f7baedd9c1e2 |
children | 8e597c226093 |
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 Tue Apr 21 16:36:52 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; }