r378 - trunk/varnish-cache/lib/libvcl

des at projects.linpro.no des at projects.linpro.no
Sat Jul 8 21:27:53 CEST 2006


Author: des
Date: 2006-07-08 21:27:53 +0200 (Sat, 08 Jul 2006)
New Revision: 378

Modified:
   trunk/varnish-cache/lib/libvcl/vcl_compile.c
Log:
Fix "set backend.port".


Modified: trunk/varnish-cache/lib/libvcl/vcl_compile.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcl_compile.c	2006-07-08 19:25:16 UTC (rev 377)
+++ trunk/varnish-cache/lib/libvcl/vcl_compile.c	2006-07-08 19:27:53 UTC (rev 378)
@@ -1294,7 +1294,7 @@
 		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);




More information about the varnish-commit mailing list