changeset 920:da097813ff2e

fix number of arguments
author Igor Sysoev <igor@sysoev.ru>
date Thu, 14 Dec 2006 22:11:52 +0000
parents 263c3219bb98
children cba27113c33c
files src/http/modules/ngx_http_dav_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_
 
     lcf->access = 0700;
 
-    for (i = 1; i < 3; i++) {
+    for (i = 1; i < cf->args->nelts; i++) {
 
         p = value[i].data;