From b70c95140cf9abef23cb1c303f6f6ce110679e4f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 4 Feb 2009 13:54:49 -0500 Subject: [PATCH] SEARCH: RETURN (PARTIAL) was broken. --HG-- branch : HEAD --- src/imap/cmd-search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imap/cmd-search.c b/src/imap/cmd-search.c index 5213d093c0..1b255d62c1 100644 --- a/src/imap/cmd-search.c +++ b/src/imap/cmd-search.c @@ -59,7 +59,7 @@ imap_partial_range_parse(struct imap_search_context *ctx, const char *str) 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; } -- 2.47.3