dovecot-2.1: lib-storage: When doing a userdb lookup, use the us...

dovecot at dovecot.org dovecot at dovecot.org
Wed Apr 4 06:12:35 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/2250f11695bc
changeset: 14382:2250f11695bc
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Apr 04 06:12:24 2012 +0300
description:
lib-storage: When doing a userdb lookup, use the user's service instead of "lib-storage".

diffstat:

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

diffs (12 lines):

diff -r 9930c75b989a -r 2250f11695bc src/lib-storage/mail-user.c
--- a/src/lib-storage/mail-user.c	Wed Apr 04 06:10:33 2012 +0300
+++ b/src/lib-storage/mail-user.c	Wed Apr 04 06:12:24 2012 +0300
@@ -272,7 +272,7 @@
 	int ret;
 
 	memset(&info, 0, sizeof(info));
-	info.service = "lib-storage";
+	info.service = user->service;
 	if (user->local_ip != NULL)
 		info.local_ip = *user->local_ip;
 	if (user->remote_ip != NULL)


More information about the dovecot-cvs mailing list