[master] c477891 White-space cleanup
Poul-Henning Kamp
phk at varnish-cache.org
Tue Jun 26 12:07:03 CEST 2012
commit c4778915db1fa39e96e8a77ad47608a7285951da
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jun 26 10:06:53 2012 +0000
White-space cleanup
diff --git a/bin/varnishd/cache/cache_dir_round_robin.c b/bin/varnishd/cache/cache_dir_round_robin.c
index 68e7071..b3a57f2 100644
--- a/bin/varnishd/cache/cache_dir_round_robin.c
+++ b/bin/varnishd/cache/cache_dir_round_robin.c
@@ -173,4 +173,3 @@ VRT_init_dir_fallback(struct cli *cli, struct director **bp, int idx,
{
vrt_init_dir(cli, bp, idx, priv, m_fallback);
}
-
diff --git a/bin/varnishd/cache/cache_esi.h b/bin/varnishd/cache/cache_esi.h
index c6c2376..9903bd8 100644
--- a/bin/varnishd/cache/cache_esi.h
+++ b/bin/varnishd/cache/cache_esi.h
@@ -44,5 +44,3 @@ typedef ssize_t vep_callback_t(struct busyobj *, ssize_t l, enum vgz_flag flg);
void VEP_Init(struct busyobj *, vep_callback_t *cb);
void VEP_Parse(const struct busyobj *, const char *p, size_t l);
struct vsb *VEP_Finish(struct busyobj *);
-
-
diff --git a/bin/varnishd/cache/cache_session.c b/bin/varnishd/cache/cache_session.c
index e8a1ac1..25dc687 100644
--- a/bin/varnishd/cache/cache_session.c
+++ b/bin/varnishd/cache/cache_session.c
@@ -167,7 +167,7 @@ SES_pool_accept_task(struct worker *wrk, void *arg)
if (sp == NULL) {
VCA_FailSess(wrk);
return;
- }
+ }
VCA_SetupSess(wrk, sp);
sp->sess_step = S_STP_NEWREQ;
req = ses_GetReq(sp);
diff --git a/bin/varnishd/cache/cache_shmlog.c b/bin/varnishd/cache/cache_shmlog.c
index f977400..85a603f 100644
--- a/bin/varnishd/cache/cache_shmlog.c
+++ b/bin/varnishd/cache/cache_shmlog.c
@@ -241,7 +241,8 @@ wsl(struct vsl_log *, enum VSL_tag_e tag, int id, const char *fmt, va_list ap)
__printflike(4, 0);
static void
-wsl(struct vsl_log *vsl, enum VSL_tag_e tag, int id, const char *fmt, va_list ap)
+wsl(struct vsl_log *vsl, enum VSL_tag_e tag, int id, const char *fmt,
+ va_list ap)
{
char *p;
unsigned n, mlen;
diff --git a/bin/varnishd/cache/cache_vrt_var.c b/bin/varnishd/cache/cache_vrt_var.c
index aedbc98..7563184 100644
--- a/bin/varnishd/cache/cache_vrt_var.c
+++ b/bin/varnishd/cache/cache_vrt_var.c
@@ -558,4 +558,3 @@ VRT_r_req_backend_healthy(const struct req *req)
CHECK_OBJ_NOTNULL(req->director, DIRECTOR_MAGIC);
return (VDI_Healthy(req->director, req));
}
-
diff --git a/bin/varnishd/cache/cache_wrw.c b/bin/varnishd/cache/cache_wrw.c
index 3a38305..2324318 100644
--- a/bin/varnishd/cache/cache_wrw.c
+++ b/bin/varnishd/cache/cache_wrw.c
@@ -311,6 +311,3 @@ WRW_EndChunk(const struct worker *wrk)
wrw->cliov = 0;
(void)WRW_Write(wrk, "0\r\n\r\n", -1);
}
-
-
-
diff --git a/bin/varnishd/hash/hash_mgt.c b/bin/varnishd/hash/hash_mgt.c
index ffbba29..30460b3 100644
--- a/bin/varnishd/hash/hash_mgt.c
+++ b/bin/varnishd/hash/hash_mgt.c
@@ -81,4 +81,3 @@ HSH_config(const char *h_arg)
ARGV_ERR("Hash method \"%s\" takes no arguments\n",
hp->name);
}
-
diff --git a/include/vcli_serve.h b/include/vcli_serve.h
index 7e4e6e4..fe240c1 100644
--- a/include/vcli_serve.h
+++ b/include/vcli_serve.h
@@ -43,4 +43,3 @@ void VCLS_Destroy(struct VCLS **);
cli_func_t VCLS_func_close;
cli_func_t VCLS_func_help;
cli_func_t VCLS_func_ping;
-
diff --git a/lib/libvarnish/cli_serve.c b/lib/libvarnish/cli_serve.c
index 0de26b1..43c4ecf 100644
--- a/lib/libvarnish/cli_serve.c
+++ b/lib/libvarnish/cli_serve.c
@@ -577,4 +577,3 @@ VCLS_Destroy(struct VCLS **csp)
}
FREE_OBJ(cs);
}
-
diff --git a/lib/libvarnish/vsha256.c b/lib/libvarnish/vsha256.c
index 0a521b2..a2208cf 100644
--- a/lib/libvarnish/vsha256.c
+++ b/lib/libvarnish/vsha256.c
@@ -332,4 +332,3 @@ SHA256_Test(void)
assert(!memcmp(o, p->output, 32));
}
}
-
diff --git a/lib/libvarnishapi/vsc.c b/lib/libvarnishapi/vsc.c
index 5f992cf..67f0690 100644
--- a/lib/libvarnishapi/vsc.c
+++ b/lib/libvarnishapi/vsc.c
@@ -409,5 +409,3 @@ VSC_Iter(struct VSM_data *vd, VSC_iter_f *func, void *priv)
#undef VSC_F
#undef VSC_DO
#undef VSC_DONE
-
-
diff --git a/lib/libvarnishapi/vsl_api.h b/lib/libvarnishapi/vsl_api.h
index 0b38539..b203ae8 100644
--- a/lib/libvarnishapi/vsl_api.h
+++ b/lib/libvarnishapi/vsl_api.h
@@ -89,4 +89,3 @@ struct vsl {
};
struct vsl *vsl_Setup(struct VSM_data *vd);
-
diff --git a/lib/libvcl/vmodtool.py b/lib/libvcl/vmodtool.py
index e2cf8b5..d32eb4a 100755
--- a/lib/libvcl/vmodtool.py
+++ b/lib/libvcl/vmodtool.py
@@ -318,4 +318,3 @@ fh.write('extern const void * const Vmod_Id;\n')
fc.write('const void * const Vmod_Id = &Vmod_Id;\n')
fc.write("\n")
-
diff --git a/lib/libvmod_debug/vmod_debug.c b/lib/libvmod_debug/vmod_debug.c
index fd65fd2..cd23473 100644
--- a/lib/libvmod_debug/vmod_debug.c
+++ b/lib/libvmod_debug/vmod_debug.c
@@ -94,4 +94,3 @@ vmod_test_priv_vcl(struct req *req, struct vmod_priv *priv)
CHECK_OBJ_NOTNULL(req, REQ_MAGIC);
assert(!strcmp(priv->priv, "FOO"));
}
-
diff --git a/lib/libvmod_std/vmod_std.c b/lib/libvmod_std/vmod_std.c
index 4265cf1..037ffdd 100644
--- a/lib/libvmod_std/vmod_std.c
+++ b/lib/libvmod_std/vmod_std.c
@@ -177,4 +177,3 @@ vmod_collect(struct req *req, enum gethdr_e e, const char *h)
else if (e == HDR_BERESP && req->busyobj != NULL)
http_CollectHdr(req->busyobj->beresp, h);
}
-
More information about the varnish-commit
mailing list