dovecot-2.1: stats plugin disabled calling other plugins' user.d...

dovecot at dovecot.org dovecot at dovecot.org
Wed Feb 1 23:06:19 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/b82a3149f45e
changeset: 14047:b82a3149f45e
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Feb 01 23:06:12 2012 +0200
description:
stats plugin disabled calling other plugins' user.deinit() method.

diffstat:

 src/plugins/stats/stats-plugin.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r db8c1dde0b41 -r b82a3149f45e src/plugins/stats/stats-plugin.c
--- a/src/plugins/stats/stats-plugin.c	Wed Feb 01 22:18:33 2012 +0200
+++ b/src/plugins/stats/stats-plugin.c	Wed Feb 01 23:06:12 2012 +0200
@@ -521,7 +521,7 @@
 	suser = p_new(user->pool, struct stats_user, 1);
 	suser->module_ctx.super = *v;
 	user->vlast = &suser->module_ctx.super;
-	user->v.deinit = stats_user_deinit;
+	v->deinit = stats_user_deinit;
 
 	suser->refresh_secs = refresh_secs;
 	str = mail_user_plugin_getenv(user, "stats_track_cmds");


More information about the dovecot-cvs mailing list