dovecot-2.2: lib-storage: mail_storage_service_lookup() ignored ...

dovecot at dovecot.org dovecot at dovecot.org
Sun Jun 16 20:15:52 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/c290383e60da
changeset: 16518:c290383e60da
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jun 16 20:15:42 2013 +0300
description:
lib-storage: mail_storage_service_lookup() ignored input->service.

diffstat:

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

diffs (13 lines):

diff -r 30f00db1a8b0 -r c290383e60da src/lib-storage/mail-storage-service.c
--- a/src/lib-storage/mail-storage-service.c	Fri Jun 14 02:14:09 2013 +0300
+++ b/src/lib-storage/mail-storage-service.c	Sun Jun 16 20:15:42 2013 +0300
@@ -302,7 +302,8 @@
 	int ret;
 
 	memset(&info, 0, sizeof(info));
-	info.service = ctx->service->name;
+	info.service = input->service != NULL ? input->service :
+		ctx->service->name;
 	info.local_ip = input->local_ip;
 	info.remote_ip = input->remote_ip;
 	info.local_port = input->local_port;


More information about the dovecot-cvs mailing list