summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_script.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-10-26 15:54:29 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-10-26 15:54:29 +0000
commitf7f963d7792fdf19ad11888d3a3e7460ea88dfd0 (patch)
tree33fa551ca1e0e3d61474dad1bf148de45338b7b7 /src/http/ngx_http_script.c
parentdf30d3db5655ce895726efd7ddff81f971727dbe (diff)
downloadnginx-f7f963d7792fdf19ad11888d3a3e7460ea88dfd0.tar.gz
nginx-f7f963d7792fdf19ad11888d3a3e7460ea88dfd0.tar.bz2
merge r2903, r2911, r2912, r3002:
fix various failures handling
Diffstat (limited to 'src/http/ngx_http_script.c')
-rw-r--r--src/http/ngx_http_script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c
index f67c6628d..ad9d88b40 100644
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -561,7 +561,7 @@ ngx_http_script_add_code(ngx_array_t *codes, size_t size, void *code)
new = ngx_array_push_n(codes, size);
if (new == NULL) {
- return NGX_CONF_ERROR;
+ return NULL;
}
if (code) {