Mercurial > hg > nginx
diff src/mail/ngx_mail_smtp_handler.c @ 2049:2a92804f4109
*) back out r2040
*) refactor ngx_palloc()
*) introduce ngx_pnalloc()
*) additional pool blocks have smaller header
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 17 Jun 2008 15:00:30 +0000 |
parents | 4c060e30476b |
children | 8156bc03982a |
line wrap: on
line diff
--- a/src/mail/ngx_mail_smtp_handler.c Mon Jun 16 09:11:12 2008 +0000 +++ b/src/mail/ngx_mail_smtp_handler.c Tue Jun 17 15:00:30 2008 +0000 @@ -506,7 +506,7 @@ s->smtp_helo.len = arg[0].len; - s->smtp_helo.data = ngx_palloc(c->pool, arg[0].len); + s->smtp_helo.data = ngx_pnalloc(c->pool, arg[0].len); if (s->smtp_helo.data == NULL) { return NGX_ERROR; }