comparison src/http/modules/ngx_http_dav_module.c @ 6474:2cd019520210

Style.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 30 Mar 2016 11:52:16 +0300
parents 8b6fa4842133
children 055cbb52ac1d
comparison
equal deleted inserted replaced
6473:9d7326d3f474 6474:2cd019520210
619 } 619 }
620 620
621 if ((r->uri.data[r->uri.len - 1] == '/' && *(last - 1) != '/') 621 if ((r->uri.data[r->uri.len - 1] == '/' && *(last - 1) != '/')
622 || (r->uri.data[r->uri.len - 1] != '/' && *(last - 1) == '/')) 622 || (r->uri.data[r->uri.len - 1] != '/' && *(last - 1) == '/'))
623 { 623 {
624 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 624 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
625 "both URI \"%V\" and \"Destination\" URI \"%V\" " 625 "both URI \"%V\" and \"Destination\" URI \"%V\" "
626 "should be either collections or non-collections", 626 "should be either collections or non-collections",
627 &r->uri, &dest->value); 627 &r->uri, &dest->value);
628 return NGX_HTTP_CONFLICT; 628 return NGX_HTTP_CONFLICT;
629 } 629 }
630 630
631 depth = ngx_http_dav_depth(r, NGX_HTTP_DAV_INFINITY_DEPTH); 631 depth = ngx_http_dav_depth(r, NGX_HTTP_DAV_INFINITY_DEPTH);
632 632
633 if (depth != NGX_HTTP_DAV_INFINITY_DEPTH) { 633 if (depth != NGX_HTTP_DAV_INFINITY_DEPTH) {