From 87a01ea908356173d6387aea2af94ad0fe236bb4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 2 Oct 2003 05:39:37 +0000 Subject: nginx-0.0.1-2003-10-02-09:39:37 import --- src/core/nginx.h | 2 +- src/core/ngx_hunk.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/nginx.h b/src/core/nginx.h index f58df7c8c..83d76ab21 100644 --- a/src/core/nginx.h +++ b/src/core/nginx.h @@ -2,7 +2,7 @@ #define _NGINX_H_INCLUDED_ -#define NGINX_VER "nginx/0.0.1" +#define NGINX_VER "ng:nx/0.0.1" #define NGINX_CONF "nginx.conf" diff --git a/src/core/ngx_hunk.c b/src/core/ngx_hunk.c index 992db16a0..517a1af23 100644 --- a/src/core/ngx_hunk.c +++ b/src/core/ngx_hunk.c @@ -113,12 +113,13 @@ int ngx_chain_add_copy(ngx_pool_t *pool, ngx_chain_t **ch, ngx_chain_t *in) ngx_test_null(ce, ngx_alloc_chain_entry(pool), NGX_ERROR); ce->hunk = in->hunk; - ce->next = NULL; *le = ce; le = &ce->next; in = in->next; } + *le = NULL; + return NGX_OK; } -- cgit