diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-01-09 05:36:00 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-01-09 05:36:00 +0000 |
commit | 4e9393a0548d783cd6f50d1fcd003c85a24b2b16 (patch) | |
tree | 300b40876e7ea6c103b7a080e380cdaaaf31260e /src/core/ngx_alloc.h | |
parent | c1817846d29be14903e40a0551f706ff50e09dcf (diff) | |
download | nginx-4e9393a0548d783cd6f50d1fcd003c85a24b2b16.tar.gz nginx-4e9393a0548d783cd6f50d1fcd003c85a24b2b16.zip |
nginx-0.0.1-2003-01-09-08:36:00 import
Diffstat (limited to 'src/core/ngx_alloc.h')
-rw-r--r-- | src/core/ngx_alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_alloc.h b/src/core/ngx_alloc.h index 1d1ad8425..7fef65b7c 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; |