From: Timo Sirainen Date: Wed, 23 Jun 2010 15:54:37 +0000 (+0100) Subject: lib-storage: Changed error message. X-Git-Tag: 2.0.rc1~97 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4020006405eab97087f985a64b505d3cf48ceac7;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: Changed error message. --HG-- branch : HEAD --- diff --git a/src/lib-storage/mail-search-build.c b/src/lib-storage/mail-search-build.c index 3bbb132115..04c5c4cd01 100644 --- a/src/lib-storage/mail-search-build.c +++ b/src/lib-storage/mail-search-build.c @@ -113,9 +113,8 @@ static int mail_search_build_list(struct mail_search_build_context *ctx, belong to this type. */ cur_type = sarg->type; } else { - ctx->_error = cur_type == SEARCH_OR ? - "Use parenthesis when using ORs" : - "Use parenthesis when mixing subtypes"; + ctx->_error = + "Use parenthesis when mixing ANDs and ORs"; return -1; } subargs = &(*subargs)->next;