]> err.no Git - varnish/commitdiff
Fix typo that made worker process panic whenever a request came in without
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 31 Aug 2007 07:03:32 +0000 (07:03 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 31 Aug 2007 07:03:32 +0000 (07:03 +0000)
a Host: header.

git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1930 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_backend_simple.c

index 07c076a86a5644a5fe7c5f1fe022cfc092deaf84..b4a6b7a98d787a7b5057d8a917c0f895ca87d6c0 100644 (file)
@@ -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);
 }