stupid SEGV introduced in [679]

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@684 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.6
Xuefer 17 years ago
parent d0c12ea533
commit 949ab7685e
  1. 4
      src/mod_accesslog.c

@ -749,14 +749,14 @@ REQUESTDONE_FUNC(log_access_write) {
if (con->server_name->used > 1) {
buffer_append_string_buffer(b, con->server_name);
} else {
buffer_append_string_buffer(b, "-");
BUFFER_APPEND_STRING_CONST(b, "-");
}
break;
case FORMAT_HTTP_HOST:
if (con->uri.authority->used > 1) {
buffer_append_string_buffer(b, con->uri.authority);
} else {
buffer_append_string_buffer(b, "-");
BUFFER_APPEND_STRING_CONST(b, "-");
}
break;
case FORMAT_REQUEST_PROTOCOL:

Loading…
Cancel
Save