Mercurial > hg > nginx
diff src/mail/ngx_mail_auth_http_module.c @ 2912:c7d57b539248
return NULL instead of NGX_CONF_ERROR on a create conf failure
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 02 Jun 2009 16:09:44 +0000 |
parents | a96a8c916b0c |
children | fb4f7605505f |
line wrap: on
line diff
--- a/src/mail/ngx_mail_auth_http_module.c Tue Jun 02 16:08:38 2009 +0000 +++ b/src/mail/ngx_mail_auth_http_module.c Tue Jun 02 16:09:44 2009 +0000 @@ -1302,7 +1302,7 @@ ahcf = ngx_pcalloc(cf->pool, sizeof(ngx_mail_auth_http_conf_t)); if (ahcf == NULL) { - return NGX_CONF_ERROR; + return NULL; } ahcf->timeout = NGX_CONF_UNSET_MSEC;