From fd0bbd7fb82a3a77b1401046e8ab0e8161f1336c Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Sun, 16 Aug 2015 17:22:19 +0300 Subject: [PATCH] Fix indentation and spacing --- ngx_http_fancyindex_module.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ngx_http_fancyindex_module.c b/ngx_http_fancyindex_module.c index 823f86e..2e190f9 100644 --- a/ngx_http_fancyindex_module.c +++ b/ngx_http_fancyindex_module.c @@ -737,16 +737,16 @@ make_content_buf( tp = ngx_timeofday(); /* "Parent dir" entry, always first if displayed */ - if(r->uri.len > 1){ - b->last = ngx_cpymem_ssz(b->last, - "" - "last = ngx_cpymem(b->last, + if (r->uri.len > 1) { + b->last = ngx_cpymem_ssz(b->last, + "" + "last = ngx_cpymem(b->last, sort_url_args, ngx_sizeof_ssz("?C=N&O=A")); - } - b->last = ngx_cpymem_ssz(b->last, + } + b->last = ngx_cpymem_ssz(b->last, "\">Parent directory/" "-" "-"