aboutsummaryrefslogtreecommitdiff
path: root/src/core/nginx.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-12-17 12:25:46 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-12-17 12:25:46 +0000
commit04799a6f7c69c525969255a3bf5acaa4959552d4 (patch)
tree66be6a0caa6ca245b1c1002cfd8bb006264ab65f /src/core/nginx.c
parenta75362dcdbd5d8d911ddf135f71b3be68ce5ef31 (diff)
downloadnginx-04799a6f7c69c525969255a3bf5acaa4959552d4.tar.gz
nginx-04799a6f7c69c525969255a3bf5acaa4959552d4.zip
fix r3331:
*) now pools are aligned to 16 bytes *) forbidden to set non-aligned pool sizes
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r--src/core/nginx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index 7387aa1ba..5df96a438 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -287,9 +287,6 @@ main(int argc, char *const *argv)
init_cycle.log = log;
ngx_cycle = &init_cycle;
- /* dummy pagesize to create aligned pool */
- ngx_pagesize = 1024;
-
init_cycle.pool = ngx_create_pool(1024, log);
if (init_cycle.pool == NULL) {
return 1;