[BUG] incorrect macro ngx_log_alloc_log

Igor Sysoev is at rambler-co.ru
Tue Mar 18 13:55:57 MSK 2008

On Mon, Mar 17, 2008 at 11:25:53PM +0100, Manlio Perillo wrote:

> 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!

Please, do not use it, I will remove this ancient artifact.

Igor Sysoev

More information about the nginx mailing list