[master] 622d1b5 Remove superfluous braces
Federico G. Schwindt
fgsch at lodoss.net
Tue Jun 24 01:35:28 CEST 2014
commit 622d1b56a81e1dd9992e3417e23aa039135a9664
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Mon Jun 23 23:44:02 2014 +0100
Remove superfluous braces
diff --git a/lib/libvmod_std/vmod_std.c b/lib/libvmod_std/vmod_std.c
index 233c2da..718fb71 100644
--- a/lib/libvmod_std/vmod_std.c
+++ b/lib/libvmod_std/vmod_std.c
@@ -178,13 +178,12 @@ vmod_collect(const struct vrt_ctx *ctx, VCL_HEADER hdr)
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
if (hdr->where == HDR_REQ)
http_CollectHdr(ctx->http_req, hdr->what);
- else if (hdr->where == HDR_BEREQ) {
+ else if (hdr->where == HDR_BEREQ)
http_CollectHdr(ctx->http_bereq, hdr->what);
- } else if (hdr->where == HDR_BERESP) {
+ else if (hdr->where == HDR_BERESP)
http_CollectHdr(ctx->http_beresp, hdr->what);
- } else if (hdr->where == HDR_RESP) {
+ else if (hdr->where == HDR_RESP)
http_CollectHdr(ctx->http_resp, hdr->what);
- }
}
VCL_BOOL __match_proto__(td_std_healthy)
More information about the varnish-commit
mailing list