Commit c4778915 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

White-space cleanup

parent ea1df109
...@@ -173,4 +173,3 @@ VRT_init_dir_fallback(struct cli *cli, struct director **bp, int idx, ...@@ -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); vrt_init_dir(cli, bp, idx, priv, m_fallback);
} }
...@@ -44,5 +44,3 @@ typedef ssize_t vep_callback_t(struct busyobj *, ssize_t l, enum vgz_flag flg); ...@@ -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_Init(struct busyobj *, vep_callback_t *cb);
void VEP_Parse(const struct busyobj *, const char *p, size_t l); void VEP_Parse(const struct busyobj *, const char *p, size_t l);
struct vsb *VEP_Finish(struct busyobj *); struct vsb *VEP_Finish(struct busyobj *);
...@@ -167,7 +167,7 @@ SES_pool_accept_task(struct worker *wrk, void *arg) ...@@ -167,7 +167,7 @@ SES_pool_accept_task(struct worker *wrk, void *arg)
if (sp == NULL) { if (sp == NULL) {
VCA_FailSess(wrk); VCA_FailSess(wrk);
return; return;
} }
VCA_SetupSess(wrk, sp); VCA_SetupSess(wrk, sp);
sp->sess_step = S_STP_NEWREQ; sp->sess_step = S_STP_NEWREQ;
req = ses_GetReq(sp); req = ses_GetReq(sp);
......
...@@ -241,7 +241,8 @@ wsl(struct vsl_log *, enum VSL_tag_e tag, int id, const char *fmt, va_list ap) ...@@ -241,7 +241,8 @@ wsl(struct vsl_log *, enum VSL_tag_e tag, int id, const char *fmt, va_list ap)
__printflike(4, 0); __printflike(4, 0);
static void 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; char *p;
unsigned n, mlen; unsigned n, mlen;
......
...@@ -558,4 +558,3 @@ VRT_r_req_backend_healthy(const struct req *req) ...@@ -558,4 +558,3 @@ VRT_r_req_backend_healthy(const struct req *req)
CHECK_OBJ_NOTNULL(req->director, DIRECTOR_MAGIC); CHECK_OBJ_NOTNULL(req->director, DIRECTOR_MAGIC);
return (VDI_Healthy(req->director, req)); return (VDI_Healthy(req->director, req));
} }
...@@ -311,6 +311,3 @@ WRW_EndChunk(const struct worker *wrk) ...@@ -311,6 +311,3 @@ WRW_EndChunk(const struct worker *wrk)
wrw->cliov = 0; wrw->cliov = 0;
(void)WRW_Write(wrk, "0\r\n\r\n", -1); (void)WRW_Write(wrk, "0\r\n\r\n", -1);
} }
...@@ -81,4 +81,3 @@ HSH_config(const char *h_arg) ...@@ -81,4 +81,3 @@ HSH_config(const char *h_arg)
ARGV_ERR("Hash method \"%s\" takes no arguments\n", ARGV_ERR("Hash method \"%s\" takes no arguments\n",
hp->name); hp->name);
} }
...@@ -43,4 +43,3 @@ void VCLS_Destroy(struct VCLS **); ...@@ -43,4 +43,3 @@ void VCLS_Destroy(struct VCLS **);
cli_func_t VCLS_func_close; cli_func_t VCLS_func_close;
cli_func_t VCLS_func_help; cli_func_t VCLS_func_help;
cli_func_t VCLS_func_ping; cli_func_t VCLS_func_ping;
...@@ -577,4 +577,3 @@ VCLS_Destroy(struct VCLS **csp) ...@@ -577,4 +577,3 @@ VCLS_Destroy(struct VCLS **csp)
} }
FREE_OBJ(cs); FREE_OBJ(cs);
} }
...@@ -332,4 +332,3 @@ SHA256_Test(void) ...@@ -332,4 +332,3 @@ SHA256_Test(void)
assert(!memcmp(o, p->output, 32)); assert(!memcmp(o, p->output, 32));
} }
} }
...@@ -409,5 +409,3 @@ VSC_Iter(struct VSM_data *vd, VSC_iter_f *func, void *priv) ...@@ -409,5 +409,3 @@ VSC_Iter(struct VSM_data *vd, VSC_iter_f *func, void *priv)
#undef VSC_F #undef VSC_F
#undef VSC_DO #undef VSC_DO
#undef VSC_DONE #undef VSC_DONE
...@@ -89,4 +89,3 @@ struct vsl { ...@@ -89,4 +89,3 @@ struct vsl {
}; };
struct vsl *vsl_Setup(struct VSM_data *vd); struct vsl *vsl_Setup(struct VSM_data *vd);
...@@ -318,4 +318,3 @@ fh.write('extern const void * const Vmod_Id;\n') ...@@ -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('const void * const Vmod_Id = &Vmod_Id;\n')
fc.write("\n") fc.write("\n")
...@@ -94,4 +94,3 @@ vmod_test_priv_vcl(struct req *req, struct vmod_priv *priv) ...@@ -94,4 +94,3 @@ vmod_test_priv_vcl(struct req *req, struct vmod_priv *priv)
CHECK_OBJ_NOTNULL(req, REQ_MAGIC); CHECK_OBJ_NOTNULL(req, REQ_MAGIC);
assert(!strcmp(priv->priv, "FOO")); assert(!strcmp(priv->priv, "FOO"));
} }
...@@ -177,4 +177,3 @@ vmod_collect(struct req *req, enum gethdr_e e, const char *h) ...@@ -177,4 +177,3 @@ vmod_collect(struct req *req, enum gethdr_e e, const char *h)
else if (e == HDR_BERESP && req->busyobj != NULL) else if (e == HDR_BERESP && req->busyobj != NULL)
http_CollectHdr(req->busyobj->beresp, h); http_CollectHdr(req->busyobj->beresp, h);
} }
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