[master] 5048ac5 create let functions based on the w bit of the table definition

Nils Goroll nils.goroll at uplex.de
Tue Jan 6 20:41:51 CET 2015


commit 5048ac55d97438620b3f79b158c3671d0194f5d0
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Jan 6 20:41:46 2015 +0100

    create let functions based on the w bit of the table definition

diff --git a/bin/varnishd/cache/cache_vrt_var.c b/bin/varnishd/cache/cache_vrt_var.c
index b57c4b7..4c6f2c6 100644
--- a/bin/varnishd/cache/cache_vrt_var.c
+++ b/bin/varnishd/cache/cache_vrt_var.c
@@ -198,7 +198,7 @@ VRT_r_beresp_##field(VRT_CTX)				\
 
 #define BO_FLAG(l, r, w, d) \
 	VBERESPR##r(l) \
-	VBERESPW##r(l)
+	VBERESPW##w(l)
 #include "tbl/bo_flags.h"
 #undef BO_FLAG
 
@@ -588,7 +588,7 @@ VRT_r_req_##field(VRT_CTX)				\
 
 #define REQ_FLAG(l, r, w, d) \
 	VREQR##r(l) \
-	VREQW##r(l)
+	VREQW##w(l)
 #include "tbl/req_flags.h"
 #undef REQ_FLAG
 



More information about the varnish-commit mailing list