fix return value

This commit is contained in:
Igor Sysoev 2009-07-27 11:04:28 +00:00
parent a3dbeb661d
commit 34babb0f7b
1 changed files with 1 additions and 1 deletions

View File

@ -568,7 +568,7 @@ ngx_http_rewrite_if(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
if_code = ngx_array_push_n(lcf->codes, sizeof(ngx_http_script_if_code_t));
if (if_code == NULL) {
return NULL;
return NGX_CONF_ERROR;
}
if_code->code = ngx_http_script_if_code;