diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-10-24 15:46:48 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-10-24 15:46:48 +0000 |
commit | efc6ecab8255beedbe2f2148bb4d1dfeadf335b8 (patch) | |
tree | 8b094f0b718cdaeb6c30f129c7dc9664f8702615 /src/os/unix/ngx_freebsd_init.c | |
parent | b9c859e6d56710d2db0984e6e2fabef6d0ad2bfc (diff) | |
download | nginx-efc6ecab8255beedbe2f2148bb4d1dfeadf335b8.tar.gz nginx-efc6ecab8255beedbe2f2148bb4d1dfeadf335b8.zip |
malloc() debugging on MacOSX.
Diffstat (limited to 'src/os/unix/ngx_freebsd_init.c')
-rw-r--r-- | src/os/unix/ngx_freebsd_init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/os/unix/ngx_freebsd_init.c b/src/os/unix/ngx_freebsd_init.c index 1211c7ccb..bfb89087a 100644 --- a/src/os/unix/ngx_freebsd_init.c +++ b/src/os/unix/ngx_freebsd_init.c @@ -22,7 +22,8 @@ int ngx_freebsd_machdep_hlt_logical_cpus; ngx_uint_t ngx_freebsd_sendfile_nbytes_bug; ngx_uint_t ngx_freebsd_use_tcp_nopush; -ngx_uint_t ngx_freebsd_debug_malloc; + +ngx_uint_t ngx_debug_malloc; static ngx_os_io_t ngx_freebsd_io = { @@ -80,7 +81,7 @@ ngx_debug_init() malloc_options = "J"; #endif - ngx_freebsd_debug_malloc = 1; + ngx_debug_malloc = 1; #else char *mo; @@ -88,7 +89,7 @@ ngx_debug_init() mo = getenv("MALLOC_OPTIONS"); if (mo && ngx_strchr(mo, 'J')) { - ngx_freebsd_debug_malloc = 1; + ngx_debug_malloc = 1; } #endif } |