diff src/mail/ngx_mail_auth_http_module.c @ 2061:b0a1c84725cf

change useless ngx_pcalloc() to ngx_pnalloc()
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Jun 2008 12:27:03 +0000
parents 2a92804f4109
children 8156bc03982a
line wrap: on
line diff
--- a/src/mail/ngx_mail_auth_http_module.c
+++ b/src/mail/ngx_mail_auth_http_module.c
@@ -528,7 +528,7 @@ ngx_mail_auth_http_process_headers(ngx_m
                     continue;
                 }
 
-                p = ngx_pcalloc(s->connection->pool, size);
+                p = ngx_pnalloc(s->connection->pool, size);
                 if (p == NULL) {
                     ngx_close_connection(ctx->peer.connection);
                     ngx_destroy_pool(ctx->pool);