fix %v placeholder in mod_accesslog

personal/stbuehler/wip
Thomas Porzelt 14 years ago
parent 4c49705c16
commit eb794b1dbc
  1. 2
      src/modules/mod_accesslog.c

@ -285,7 +285,7 @@ static GString *al_format_log(connection *con, GArray *format) {
if (CORE_OPTION(CORE_OPTION_LOG).string)
g_string_append_len(str, GSTR_LEN(req->uri.host));
else
g_string_append_len(str, GSTR_LEN(CORE_OPTION(CORE_OPTION_LOG).string));
g_string_append_len(str, GSTR_LEN(CORE_OPTION(CORE_OPTION_SERVER_NAME).string));
break;
case AL_FORMAT_HOSTNAME:
g_string_append_len(str, GSTR_LEN(req->uri.host));

Loading…
Cancel
Save