Commit 86a6b9bc authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix typo that made worker process panic whenever a request came in without

a Host: header.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1930 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 3f9a4a41
......@@ -340,7 +340,7 @@ bes_GetHostname(struct backend *b)
{
struct bes *bes;
CHECK_OBJ_NOTNULL(b, SESS_MAGIC);
CHECK_OBJ_NOTNULL(b, BACKEND_MAGIC);
CAST_OBJ_NOTNULL(bes, b->priv, BES_MAGIC);
return (bes->hostname);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment