]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Changed error message.
authorTimo Sirainen <tss@iki.fi>
Wed, 23 Jun 2010 15:54:37 +0000 (16:54 +0100)
committerTimo Sirainen <tss@iki.fi>
Wed, 23 Jun 2010 15:54:37 +0000 (16:54 +0100)
--HG--
branch : HEAD

src/lib-storage/mail-search-build.c

index 3bbb132115b5b1c936e332e8be8303b1d1a9cfd8..04c5c4cd018da034c394b1af82c6c9f1f42c1c16 100644 (file)
@@ -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;