]> git.kaiwu.me - nginx.git/commitdiff
fix number of arguments
authorIgor Sysoev <igor@sysoev.ru>
Thu, 14 Dec 2006 22:11:52 +0000 (22:11 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 14 Dec 2006 22:11:52 +0000 (22:11 +0000)
src/http/modules/ngx_http_dav_module.c

index 81c1dc49a3d699ca087ad8a6bd14bb73098d9d35..295d98fb1d2563d2a4bd49eb876fb4849128b396 100644 (file)
@@ -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;