dovecot-2.2: indexer: fix indexer_queue_cancel_all behaviour

dovecot at dovecot.org dovecot at dovecot.org
Tue May 27 18:19:15 UTC 2014


details:   http://hg.dovecot.org/dovecot-2.2/rev/4f90011e9823
changeset: 17409:4f90011e9823
user:      Phil Carmody <phil at dovecot.fi>
date:      Tue May 27 21:17:34 2014 +0300
description:
indexer: fix indexer_queue_cancel_all behaviour
-1 is TRUE. Presumably -1 was intended to be passed to the callbacks via
indexer_queue_request_status_int(), not 100.

Signed-off-by: Phil Carmody <phil at dovecot.fi>

diffstat:

 src/indexer/indexer-queue.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9207d1868963 -r 4f90011e9823 src/indexer/indexer-queue.c
--- a/src/indexer/indexer-queue.c	Tue May 27 21:17:34 2014 +0300
+++ b/src/indexer/indexer-queue.c	Tue May 27 21:17:34 2014 +0300
@@ -211,7 +211,7 @@
 
 	while ((request = indexer_queue_request_peek(queue)) != NULL) {
 		indexer_queue_request_remove(queue);
-		indexer_queue_request_finish(queue, &request, -1);
+		indexer_queue_request_finish(queue, &request, FALSE);
 	}
 }
 


More information about the dovecot-cvs mailing list