Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8712:69cdbfd4c1ed HEAD
SEARCH: RETURN (PARTIAL) was broken.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 04 Feb 2009 13:54:49 -0500 |
parents | bd2bb6ff0a83 |
children | 0118c6040468 |
files | src/imap/cmd-search.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/cmd-search.c Wed Feb 04 12:47:27 2009 -0500 +++ b/src/imap/cmd-search.c Wed Feb 04 13:54:49 2009 -0500 @@ -59,7 +59,7 @@ ctx->partial1 = ctx->partial1 * 10 + *str-'0'; if (*str != ':') return -1; - for (; *str >= '0' && *str <= '9'; str++) + for (str++; *str >= '0' && *str <= '9'; str++) ctx->partial2 = ctx->partial2 * 10 + *str-'0'; return *str == '\0' ? 0 : -1; }