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
This commit is contained in:
Xuefer 2005-09-03 03:06:26 +00:00
parent d0c12ea533
commit 949ab7685e
1 changed files with 2 additions and 2 deletions

View File

@ -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: