commit | 05822df0cb9dcf9909f4d82be7ce1becd108eeac | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Jun 02 16:08:38 2009 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Jun 02 16:08:38 2009 +0000 |
tree | e734242761f5913d05df364cb8ad4be695de74a5 | |
parent | 3e6470280797e9b4c8a2964cd77f3489cb7a1e91 [diff] |
fix return value on failure
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index b8e998a..dbe6c34 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c
@@ -561,7 +561,7 @@ new = ngx_array_push_n(codes, size); if (new == NULL) { - return NGX_CONF_ERROR; + return NULL; } if (code) {