From fc99b009bcb46fcccf4b880aa9be815f3ca70888 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 14 Dec 2006 22:11:52 +0000 Subject: [PATCH] fix number of arguments --- src/http/modules/ngx_http_dav_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_dav_module.c b/src/http/modules/ngx_http_dav_module.c index 81c1dc49a..295d98fb1 100644 --- a/src/http/modules/ngx_http_dav_module.c +++ b/src/http/modules/ngx_http_dav_module.c @@ -476,7 +476,7 @@ ngx_http_dav_access(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) lcf->access = 0700; - for (i = 1; i < 3; i++) { + for (i = 1; i < cf->args->nelts; i++) { p = value[i].data;