[master] 4838b82 Revert pasto in earlier commit

Federico G. Schwindt fgsch at lodoss.net
Sun Jan 15 21:07:04 CET 2017


commit 4838b82e55560dcc466a36b40ea3f7c802fcc203
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sun Jan 15 19:16:38 2017 +0000

    Revert pasto in earlier commit

diff --git a/lib/libvmod_debug/vmod_debug_dyn.c b/lib/libvmod_debug/vmod_debug_dyn.c
index 8f71121..03610ee 100644
--- a/lib/libvmod_debug/vmod_debug_dyn.c
+++ b/lib/libvmod_debug/vmod_debug_dyn.c
@@ -58,15 +58,13 @@ dyn_dir_init(VRT_CTX, struct vmod_debug_dyn *dyn,
 	struct director *dir, *dir2;
 	struct vrt_backend vrt;
 
-	vrt.port = port;
-	vrt.hosthdr = addr;
 	CHECK_OBJ_NOTNULL(dyn, VMOD_DEBUG_DYN_MAGIC);
 	XXXAN(addr);
 	XXXAN(port);
 
 	INIT_OBJ(&vrt, VRT_BACKEND_MAGIC);
-	vrt.vcl_name = dyn->vcl_name;
 	vrt.port = port;
+	vrt.vcl_name = dyn->vcl_name;
 	vrt.hosthdr = addr;
 
 	memset(&hints, 0, sizeof(hints));



More information about the varnish-commit mailing list