Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-12-15 01:11:52 +0300
committerIgor Sysoev <igor@sysoev.ru>2006-12-15 01:11:52 +0300
commitfc99b009bcb46fcccf4b880aa9be815f3ca70888 (patch)
treefec04022b75049999ec983924785d7ef8243bdbb /src/http/modules/ngx_http_dav_module.c
parent6778476a6640903eb4d495933b4d251c34f52a08 (diff)
fix number of arguments
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 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;