summaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-14 19:39:54 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-14 19:39:54 +0000
commitdc3b2a78753bdc4c97a0007c872a4f8afd049df4 (patch)
tree101c409864cf6ec6e6f285ef772e61f0924dd32c /src/core
parente2ff3ea920ba6bc3690a333abdaa2e40656f933a (diff)
downloadnginx-dc3b2a78753bdc4c97a0007c872a4f8afd049df4.tar.gz
nginx-dc3b2a78753bdc4c97a0007c872a4f8afd049df4.tar.bz2
nginx-0.0.10-2004-09-14-23:39:54 import
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_log.h4
-rw-r--r--src/core/ngx_palloc.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index 21d3e6b76..45ab6e07c 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -223,8 +223,8 @@ void ngx_assert_core(ngx_log_t *log, const char *fmt, ...);
#define ngx_log_debug4(level, log, err, fmt, arg1, arg2, arg3, arg4)
#define ngx_log_debug5(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5)
#define ngx_log_debug6(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6)
-#define ngx_log_debug7(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5, arg6,
- arg7)
+#define ngx_log_debug7(level, log, err, fmt, arg1, arg2, arg3, arg4, arg5, \
+ arg6, arg7)
#endif
diff --git a/src/core/ngx_palloc.c b/src/core/ngx_palloc.c
index 77c113267..fe469ec2d 100644
--- a/src/core/ngx_palloc.c
+++ b/src/core/ngx_palloc.c
@@ -86,7 +86,7 @@ void *ngx_palloc(ngx_pool_t *pool, size_t size)
}
}
- /* alloc a new pool block */
+ /* allocate a new pool block */
if (!(n = ngx_create_pool((size_t) (p->end - (char *) p), p->log))) {
return NULL;
@@ -99,7 +99,7 @@ void *ngx_palloc(ngx_pool_t *pool, size_t size)
return m;
}
- /* alloc a large block */
+ /* allocate a large block */
large = NULL;
last = NULL;