Commit Diff


commit - 0d5282b6475a30a3f39559c67a1504cc7c6930ea
commit + d8df67565ca01ed0e6ea0a41613be7d624306042
blob - 45cdf43f33234b58584bfd4f3e6375327fedcbbf
blob + ae2c143244e555dea89e2ba27203227085199e24
--- parse.y
+++ parse.y
@@ -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);