]> git.kaiwu.me - nginx.git/commitdiff
stop configuration on error
authorIgor Sysoev <igor@sysoev.ru>
Tue, 14 Aug 2007 14:57:51 +0000 (14:57 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 14 Aug 2007 14:57:51 +0000 (14:57 +0000)
src/mail/ngx_mail_auth_http_module.c

index c7e0fc03831842127da47cadee89a7d3a2361d51..2cb084112e9d8b70f07f0f611cacbc3464bdb283 100644 (file)
@@ -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;