Mercurial > hg > nginx
comparison src/http/modules/ngx_http_dav_module.c @ 1174:6be5ee17d80b
style fix: remove trailing spaces
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 19 Apr 2007 18:07:39 +0000 |
parents | 6fcce6c4019a |
children | b616ba6141cd |
comparison
equal
deleted
inserted
replaced
1173:2a0b86713cc6 | 1174:6be5ee17d80b |
---|---|
583 depth = ngx_http_dav_depth(r, 0); | 583 depth = ngx_http_dav_depth(r, 0); |
584 | 584 |
585 if (depth != 0 && depth != NGX_HTTP_DAV_INFINITY_DEPTH) { | 585 if (depth != 0 && depth != NGX_HTTP_DAV_INFINITY_DEPTH) { |
586 return NGX_HTTP_BAD_REQUEST; | 586 return NGX_HTTP_BAD_REQUEST; |
587 } | 587 } |
588 | 588 |
589 over = r->headers_in.overwrite; | 589 over = r->headers_in.overwrite; |
590 | 590 |
591 if (over) { | 591 if (over) { |
592 if (over->value.len == 1) { | 592 if (over->value.len == 1) { |
593 ch = over->value.data[0]; | 593 ch = over->value.data[0]; |
1001 | 1001 |
1002 static ngx_int_t | 1002 static ngx_int_t |
1003 ngx_http_dav_depth(ngx_http_request_t *r, ngx_int_t dflt) | 1003 ngx_http_dav_depth(ngx_http_request_t *r, ngx_int_t dflt) |
1004 { | 1004 { |
1005 ngx_table_elt_t *depth; | 1005 ngx_table_elt_t *depth; |
1006 | 1006 |
1007 depth = r->headers_in.depth; | 1007 depth = r->headers_in.depth; |
1008 | 1008 |
1009 if (depth == NULL) { | 1009 if (depth == NULL) { |
1010 return dflt; | 1010 return dflt; |
1011 } | 1011 } |