Mercurial > dovecot > core-2.2
changeset 16518:c290383e60da
lib-storage: mail_storage_service_lookup() ignored input->service.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Jun 2013 20:15:42 +0300 |
parents | 30f00db1a8b0 |
children | 9dcbcc0871f0 |
files | src/lib-storage/mail-storage-service.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;