dovecot-2.2: replicator plugin: And crashfix for the previous ch...

dovecot at dovecot.org dovecot at dovecot.org
Tue Feb 19 09:35:18 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/c79e5ff5e30d
changeset: 15840:c79e5ff5e30d
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Feb 19 09:35:10 2013 +0200
description:
replicator plugin: And crashfix for the previous change..

diffstat:

 src/plugins/replication/replication-plugin.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 556d05100810 -r c79e5ff5e30d src/plugins/replication/replication-plugin.c
--- a/src/plugins/replication/replication-plugin.c	Tue Feb 19 09:32:11 2013 +0200
+++ b/src/plugins/replication/replication-plugin.c	Tue Feb 19 09:35:10 2013 +0200
@@ -186,10 +186,10 @@
 		return;
 	}
 
-	ruser = REPLICATION_USER_CONTEXT(ns->owner);
+	ruser = REPLICATION_USER_CONTEXT(ns->user);
 
 	if (priority == REPLICATION_PRIORITY_SYNC) {
-		if (replication_notify_sync(ns->owner) == 0) {
+		if (replication_notify_sync(ns->user) == 0) {
 			timeout_remove(&ruser->to);
 			ruser->priority = REPLICATION_PRIORITY_NONE;
 			return;
@@ -202,7 +202,7 @@
 		ruser->priority = priority;
 	if (ruser->to == NULL) {
 		ruser->to = timeout_add_short(REPLICATION_NOTIFY_DELAY_MSECS,
-					      replication_notify_now, ns->owner);
+					      replication_notify_now, ns->user);
 	}
 }
 


More information about the dovecot-cvs mailing list