From: Igor Sysoev Date: Thu, 14 Dec 2006 22:11:52 +0000 (+0000) Subject: fix number of arguments X-Git-Tag: release-0.5.4~4 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=fc99b009bcb46fcccf4b880aa9be815f3ca70888;p=nginx.git fix number of arguments --- 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;