dovecot-2.0: lib-storage: Changed error message.

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 23 18:54:42 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/1cc5486f466b
changeset: 11621:1cc5486f466b
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 23 16:54:37 2010 +0100
description:
lib-storage: Changed error message.

diffstat:

 src/lib-storage/mail-search-build.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (15 lines):

diff -r b4c88ba95a6f -r 1cc5486f466b src/lib-storage/mail-search-build.c
--- a/src/lib-storage/mail-search-build.c	Wed Jun 23 16:06:07 2010 +0100
+++ b/src/lib-storage/mail-search-build.c	Wed Jun 23 16:54:37 2010 +0100
@@ -113,9 +113,8 @@
 			   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;


More information about the dovecot-cvs mailing list