Fix a couple of code style and indentation issues

pull/28/head
Adrian Perez de Castro 2015-08-17 00:14:53 +03:00
parent 5599bbebba
commit 13170fb6e6
1 changed files with 3 additions and 2 deletions

View File

@ -721,8 +721,9 @@ make_content_buf(
* If we are a the root of the webserver (URI = "/" --> length of 1),
* do not display the "Parent Directory" link.
*/
if(r->uri.len == 1)
if (r->uri.len == 1) {
len -= ngx_sizeof_ssz(t_parentdir_entry);
}
entry = entries.elts;
for (i = 0; i < entries.nelts; i++) {