[master] f93edb5 if the prefix is not vcc_if, there is no vcc_if.h to include

Nils Goroll nils.goroll at uplex.de
Sun Jun 12 21:42:06 CEST 2016


commit f93edb5be4929989be8b6cd83bf0f4138a83974a
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Sun Jun 12 21:41:56 2016 +0200

    if the prefix is not vcc_if, there is no vcc_if.h to include

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index c8edb3a..7b7c056 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -768,7 +768,7 @@ class vcc(object):
 
 		fn2 = fn + ".tmp2"
 
-		for i in ["config", "vcl", "vrt", "vcc_if", "vmod_abi"]:
+		for i in ["config", "vcl", "vrt", self.pfx, "vmod_abi"]:
 			fo.write('#include "%s.h"\n' % i)
 
 		fo.write("\n")



More information about the varnish-commit mailing list