dovecot-2.1: fts-squat: Fixed handling multiple SEARCH parameters.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 18 17:05:39 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/4ce1f9649592
changeset: 14565:4ce1f9649592
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Jun 18 17:05:27 2012 +0300
description:
fts-squat: Fixed handling multiple SEARCH parameters.

diffstat:

 src/plugins/fts-squat/fts-backend-squat.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 39d9e75fec02 -r 4ce1f9649592 src/plugins/fts-squat/fts-backend-squat.c
--- a/src/plugins/fts-squat/fts-backend-squat.c	Mon Jun 18 13:21:03 2012 +0300
+++ b/src/plugins/fts-squat/fts-backend-squat.c	Mon Jun 18 17:05:27 2012 +0300
@@ -452,9 +452,10 @@
 				       &result->maybe_uids);
 		if (ret < 0)
 			return -1;
-		if (ret > 0)
+		if (ret > 0) {
 			args->match_always = TRUE;
-		first = FALSE;
+			first = FALSE;
+		}
 	}
 	return 0;
 }


More information about the dovecot-cvs mailing list