From 421de7a53aea4bb74e229577152f998d90564a90 Mon Sep 17 00:00:00 2001 From: Stephan Bosch <stephan@rename-it.nl> Date: Sat, 10 Jul 2010 18:06:28 +0200 Subject: [PATCH] Sieve-tools: was using wrong mail_user variable for settings acquisition. --- src/lib-sieve-tool/sieve-tool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib-sieve-tool/sieve-tool.c b/src/lib-sieve-tool/sieve-tool.c index 8a8a06f0d..3ebc04f80 100644 --- a/src/lib-sieve-tool/sieve-tool.c +++ b/src/lib-sieve-tool/sieve-tool.c @@ -75,10 +75,10 @@ static const char *sieve_tool_sieve_get_setting if ( tool->setting_callback != NULL ) return tool->setting_callback(tool->setting_callback_context, identifier); - if ( tool->mail_user == NULL ) + if ( tool->mail_user_dovecot == NULL ) return NULL; - return mail_user_plugin_getenv(tool->mail_user, identifier); + return mail_user_plugin_getenv(tool->mail_user_dovecot, identifier); } static const char *sieve_tool_sieve_get_homedir -- GitLab