[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] 68684fec9 Use VCL_BYTES instead of int64_t return type for VRT_stevedore_*()
From:       Poul-Henning Kamp <phk () FreeBSD ! org>
Date:       2021-05-31 10:51:06
Message-ID: 20210531105106.362CD96B3 () lists ! varnish-cache ! org
[Download RAW message or body]


commit 68684fec9f52afbf47c8ed72b1086951ae1ee9f1
Author: Poul-Henning Kamp <phk@FreeBSD.org>
Date:   Mon May 31 10:49:56 2021 +0000

    Use VCL_BYTES instead of int64_t return type for VRT_stevedore_*()

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 1b23b6282..c1117905a 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -760,7 +760,7 @@ parse_var_doc(join(srcroot, "doc/sphinx/reference/vcl_var.rst"))
 fo.write("}\n")
 
 for i in stv_variables:
-    fh.write(vcltypes[i[1]].c + " VRT_stevedore_" + i[0] + "(VCL_STEVEDORE);\n")
+    fh.write("VCL_" + i[1] + " VRT_stevedore_" + i[0] + "(VCL_STEVEDORE);\n")
 
 fo.write("\n/* VCL type identifiers */\n")
 
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic