Commit 488d1af0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix an off-by one error in ACL compilation.

Should be merged into 2.0


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3308 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent f7190396
......@@ -397,7 +397,7 @@ vcc_acl_bot(const struct tokenlist *tl, const char *acln, int silent, const char
Fh(tl, 0, "\t%*s%sif ((a[%d] & 0x%x) == %d) {\n",
-i, "",
oc,
i, (0xff00 >> m) & 0xff,
i - 1, (0xff00 >> m) & 0xff,
ae->data[i] & ((0xff00 >> m) & 0xff));
at[i] = 256;
depth = i;
......
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