]> err.no Git - varnish/commitdiff
Fix "set backend.port".
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 8 Jul 2006 19:27:53 +0000 (19:27 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sat, 8 Jul 2006 19:27:53 +0000 (19:27 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@378 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcl_compile.c

index 6b733258c9169a8d06fbfcd00cfc3888429f6098..c0b222430b7b1859baf5ff5b90f90597a7dd1250 100644 (file)
@@ -1294,7 +1294,7 @@ Backend(struct tokenlist *tl)
                return;
        }
        if (t_port != NULL) {
-               port = EncString(tl->t);
+               port = EncString(t_port);
                ep = CheckHostPort(host, port);
                if (ep != NULL) {
                        sbuf_printf(tl->sb, "Backend '%T': %s\n", t_be, ep);