From 824bcf333f9dae543ca8fa3c9f59d0cbcef6cb3b Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 14 Aug 2007 14:57:51 +0000 Subject: [PATCH] stop configuration on error --- src/mail/ngx_mail_auth_http_module.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mail/ngx_mail_auth_http_module.c b/src/mail/ngx_mail_auth_http_module.c index c7e0fc038..2cb084112 100644 --- a/src/mail/ngx_mail_auth_http_module.c +++ b/src/mail/ngx_mail_auth_http_module.c @@ -1388,6 +1388,8 @@ ngx_mail_auth_http(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%s in auth_http \"%V\"", u.err, &u.url); } + + return NGX_CONF_ERROR; } ahcf->peer = u.addrs;