[master] 90afdda Start the return values at 1
Federico G. Schwindt
fgsch at lodoss.net
Wed Apr 13 00:22:05 CEST 2016
commit 90afddae68d0811a59ba1507ff51908cc094feff
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Tue Apr 12 23:20:45 2016 +0100
Start the return values at 1
Use 0 to indicate it has not been set instead of displaying abandon.
diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 61cfc4d..e70068c 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -1055,7 +1055,7 @@ fo.write("\n" + tbl40("#define VCL_MET_MASK", "0x%x\n" % ((1 << n) - 1)))
fo.write("\n/* VCL Returns */\n")
-n = 0
+n = 1
l = list(rets.keys())
l.sort()
for i in l:
More information about the varnish-commit
mailing list