Commit 7a0f10d5 by Nils Goroll

un-constify struct sess for varnish2

For varnish2 itself, we could keep the const qualifyer, but we use
the same interface for varnish3 and the varnish3 vmod interface
mandates an un-const argument. Special-casing this for varnish2
has no actual benefit.
parent 53b04d31
......@@ -33,7 +33,7 @@
#include "dcs_varnish.c"
void
dcs_varnish2_classify_hdrs(const struct sess *sp) {
dcs_varnish2_classify_hdrs(struct sess *sp) {
const int e = dcs_varnish_classify(sp);
const int t = dcs_match_type_id(e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment