commit | 4e9393a0548d783cd6f50d1fcd003c85a24b2b16 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Jan 09 05:36:00 2003 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Jan 09 05:36:00 2003 +0000 |
tree | 300b40876e7ea6c103b7a080e380cdaaaf31260e | |
parent | c1817846d29be14903e40a0551f706ff50e09dcf [diff] [blame] |
nginx-0.0.1-2003-01-09-08:36:00 import
diff --git a/src/core/ngx_alloc.h b/src/core/ngx_alloc.h index 1d1ad84..7fef65b 100644 --- a/src/core/ngx_alloc.h +++ b/src/core/ngx_alloc.h
@@ -10,7 +10,7 @@ #define NGX_MAX_ALLOC_FROM_POOL (8192 - sizeof(ngx_pool_t)) #define NGX_DEFAULT_POOL_SIZE (16 * 1024) -#define ngx_test_null(p, alloc, rc) if ((p = alloc) == NULL) return rc +#define ngx_test_null(p, alloc, rc) if ((p = alloc) == NULL) { return rc; } typedef struct ngx_pool_large_s ngx_pool_large_t;