[BUG] incorrect macro ngx_log_alloc_log

Manlio Perillo manlio.perillo at gmail.com
Tue Mar 18 01:25:53 MSK 2008


The macro in core/ngx_log.h is not correct:

#define ngx_log_alloc_log(pool, log)  ngx_palloc(pool, log, 
sizeof(ngx_log_t))


ngx_palloc only requires two arguments.


This function is never used, but I was trying to use it in mod_wsgi!



Manlio Perillo





More information about the nginx mailing list