diff --git a/NEWS b/NEWS index cc48d66a..4abb1870 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ NEWS - 1.4.37 * [mod_proxy] remove debug log line from error log (fixes #2659) + * [mod_dirlisting] fix dir-listing.set-footer not showing - 1.4.36 - 2015-07-26 * use keep-alive timeout while waiting for HTTP headers; use always the read timeout while waiting for the HTTP body diff --git a/src/mod_dirlisting.c b/src/mod_dirlisting.c index d8bf3a33..7a98431d 100644 --- a/src/mod_dirlisting.c +++ b/src/mod_dirlisting.c @@ -614,7 +614,7 @@ static void http_list_directory_footer(server *srv, connection *con, plugin_data "
" )); - if (buffer_string_is_empty(p->conf.set_footer)) { + if (!buffer_string_is_empty(p->conf.set_footer)) { buffer_append_string_buffer(out, p->conf.set_footer); } else if (buffer_is_empty(con->conf.server_tag)) { buffer_append_string_len(out, CONST_STR_LEN(PACKAGE_DESC));