aboutsummaryrefslogtreecommitdiff
path: root/src/mail/ngx_mail_auth_http_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-08-14 14:57:51 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-08-14 14:57:51 +0000
commit824bcf333f9dae543ca8fa3c9f59d0cbcef6cb3b (patch)
tree69e6ee4c244cc6eb92b1a50f2fca743c080041bf /src/mail/ngx_mail_auth_http_module.c
parentcc07609d117deb1197dac85327c3bb31bd7aa7d9 (diff)
downloadnginx-824bcf333f9dae543ca8fa3c9f59d0cbcef6cb3b.tar.gz
nginx-824bcf333f9dae543ca8fa3c9f59d0cbcef6cb3b.zip
stop configuration on error
Diffstat (limited to 'src/mail/ngx_mail_auth_http_module.c')
-rw-r--r--src/mail/ngx_mail_auth_http_module.c2
1 files changed, 2 insertions, 0 deletions
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;