changeset 1390:3e045031ee3b

stop configuration on error
author Igor Sysoev <igor@sysoev.ru>
date Tue, 14 Aug 2007 14:57:51 +0000
parents ab553c23bd3a
children 4eed21047e4d
files src/mail/ngx_mail_auth_http_module.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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_c
             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;