fix missing listen on warning

printed the wrong value for the hostname
This commit is contained in:
Omar Polo 2024-01-11 13:18:15 +00:00
parent 0d5282b647
commit d8df67565c
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ vhost : SERVER string {
fatal("snprintf");
yywarn("missing `listen on' in server %s,"
" assuming %s port %d", $2,
" assuming %s port %d", host->domain,
default_host ? default_host : "*",
default_port);
listen_on(default_host, portno);