dovecot-2.0: lib-storage: Another fix for handling hooks with mu...

dovecot at dovecot.org dovecot at dovecot.org
Fri Aug 6 19:05:22 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/e54df5af98ac
changeset: 11954:e54df5af98ac
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Aug 06 17:05:16 2010 +0100
description:
lib-storage: Another fix for handling hooks with multiple plugins.

diffstat:

 src/lib-storage/mail-storage-hooks.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a933f7db45f9 -r e54df5af98ac src/lib-storage/mail-storage-hooks.c
--- a/src/lib-storage/mail-storage-hooks.c	Fri Aug 06 16:01:20 2010 +0100
+++ b/src/lib-storage/mail-storage-hooks.c	Fri Aug 06 17:05:16 2010 +0100
@@ -193,7 +193,7 @@
 	for (i = 0; i < ctx->count; i++) {
 		if (stack->mask[i] == NULL) {
 			stack->vfuncs[i] = stack->next->vfuncs[i];
-			stack->mask[i] = stack->vfuncs[i];
+			stack->mask[i] = stack->next->mask[i];
 		}
 	}
 }


More information about the dovecot-cvs mailing list