aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_dav_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-06-17 15:00:30 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-06-17 15:00:30 +0000
commit7f6b2ffc60135a8340213fe8d5d0b70e479e3ac1 (patch)
tree90325238fc9a9d9a7e8818e76b60cc9e011242aa /src/http/modules/ngx_http_dav_module.c
parentc2eb2cf4cba5f47fbc33eebe279f0d3855401421 (diff)
downloadnginx-7f6b2ffc60135a8340213fe8d5d0b70e479e3ac1.tar.gz
nginx-7f6b2ffc60135a8340213fe8d5d0b70e479e3ac1.zip
*) back out r2040
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
Diffstat (limited to 'src/http/modules/ngx_http_dav_module.c')
-rw-r--r--src/http/modules/ngx_http_dav_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c
index 3d54525e8..33bb2e9c1 100644
--- a/src/http/modules/ngx_http_dav_module.c
+++ b/src/http/modules/ngx_http_dav_module.c
@@ -1102,7 +1102,7 @@ ngx_http_dav_location(ngx_http_request_t *r, u_char *path)
location = path + clcf->root.len;
} else {
- location = ngx_palloc(r->pool, r->uri.len);
+ location = ngx_pnalloc(r->pool, r->uri.len);
if (location == NULL) {
return NGX_ERROR;
}