comparison src/http/modules/ngx_http_dav_module.c @ 920:da097813ff2e

fix number of arguments
author Igor Sysoev <igor@sysoev.ru>
date Thu, 14 Dec 2006 22:11:52 +0000
parents c3ebeee31026
children cba27113c33c
comparison
equal deleted inserted replaced
919:263c3219bb98 920:da097813ff2e
474 474
475 value = cf->args->elts; 475 value = cf->args->elts;
476 476
477 lcf->access = 0700; 477 lcf->access = 0700;
478 478
479 for (i = 1; i < 3; i++) { 479 for (i = 1; i < cf->args->nelts; i++) {
480 480
481 p = value[i].data; 481 p = value[i].data;
482 482
483 if (ngx_strncmp(p, "user:", sizeof("user:") - 1) == 0) { 483 if (ngx_strncmp(p, "user:", sizeof("user:") - 1) == 0) {
484 shift = 6; 484 shift = 6;