From: des Date: Sat, 8 Jul 2006 19:27:53 +0000 (+0000) Subject: Fix "set backend.port". X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=058fe94815b438ac7d94453c1e115a462c398cf4;p=varnish Fix "set backend.port". git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@378 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvcl/vcl_compile.c b/varnish-cache/lib/libvcl/vcl_compile.c index 6b733258..c0b22243 100644 --- a/varnish-cache/lib/libvcl/vcl_compile.c +++ b/varnish-cache/lib/libvcl/vcl_compile.c @@ -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);