Commit 7c89c968 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Monday morning flexelinting & whitespace OCD

parent 4e568f8f
...@@ -52,7 +52,7 @@ const struct vcltemp VCL_TEMP_BUSY[1] = {{ .name = "busy", .is_warm = 1 }}; ...@@ -52,7 +52,7 @@ const struct vcltemp VCL_TEMP_BUSY[1] = {{ .name = "busy", .is_warm = 1 }};
const struct vcltemp VCL_TEMP_COOLING[1] = {{ .name = "cooling" }}; const struct vcltemp VCL_TEMP_COOLING[1] = {{ .name = "cooling" }};
// not really a temperature // not really a temperature
const struct vcltemp VCL_TEMP_LABEL[1] = {{ .name = "label" }}; static const struct vcltemp VCL_TEMP_LABEL[1] = {{ .name = "label" }};
/* /*
* XXX: Presently all modifications to this list happen from the * XXX: Presently all modifications to this list happen from the
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
*/ */
struct vfilter; struct vfilter;
struct vcltemp;; struct vcltemp;
VTAILQ_HEAD(vfilter_head, vfilter); VTAILQ_HEAD(vfilter_head, vfilter);
......
...@@ -146,6 +146,8 @@ ...@@ -146,6 +146,8 @@
// cache_vcl.c // cache_vcl.c
-esym(528, vcl_call_method) // Not referenced -esym(528, vcl_call_method) // Not referenced
-esym(765, VCL_TEMP_*)
-esym(759, VCL_TEMP_*)
-e441 // for clause irregularity: loop variable '___' not found in 2nd for expression -e441 // for clause irregularity: loop variable '___' not found in 2nd for expression
......
...@@ -16,8 +16,7 @@ varnish v1 -vcl { ...@@ -16,8 +16,7 @@ varnish v1 -vcl {
std.log({" custom log "ok" "}); std.log({" custom log "ok" "});
std.log({" "valid" "fields" ok "}); std.log({" "valid" "fields" ok "});
std.log({" "missing""blank" ko "}); std.log({" "missing""blank" ko "});
std.log({" missing dquote "ko "}); std.log({" missing dquote "ko "}); # "
# "
return (synth(200)); return (synth(200));
} }
} -start } -start
......
...@@ -297,6 +297,7 @@ vmod_typesize(VRT_CTX, VCL_STRING s) ...@@ -297,6 +297,7 @@ vmod_typesize(VRT_CTX, VCL_STRING s)
i += (l - a); /* align */ i += (l - a); /* align */
i += l; i += l;
} }
AN(p);
a = i % p; a = i % p;
if (a != 0) if (a != 0)
i += (p - a); /* pad */ i += (p - a); /* pad */
......
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