mirror of https://github.com/omar-polo/gmid.git
fix missing listen on warning
printed the wrong value for the hostname
This commit is contained in:
parent
0d5282b647
commit
d8df67565c
2
parse.y
2
parse.y
|
@ -354,7 +354,7 @@ vhost : SERVER string {
|
||||||
fatal("snprintf");
|
fatal("snprintf");
|
||||||
|
|
||||||
yywarn("missing `listen on' in server %s,"
|
yywarn("missing `listen on' in server %s,"
|
||||||
" assuming %s port %d", $2,
|
" assuming %s port %d", host->domain,
|
||||||
default_host ? default_host : "*",
|
default_host ? default_host : "*",
|
||||||
default_port);
|
default_port);
|
||||||
listen_on(default_host, portno);
|
listen_on(default_host, portno);
|
||||||
|
|
Loading…
Reference in New Issue