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

White space OCD

parent bdf2e060
......@@ -800,10 +800,10 @@ ved_gzgz_fini(struct vdp_ctx *vdc, void **priv)
}
static const struct vdp ved_gzgz = {
.name = "VZZ",
.init = ved_gzgz_init,
.bytes = ved_gzgz_bytes,
.fini = ved_gzgz_fini,
.name = "VZZ",
.init = ved_gzgz_init,
.bytes = ved_gzgz_bytes,
.fini = ved_gzgz_fini,
};
/*--------------------------------------------------------------------
......
......@@ -437,9 +437,9 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
else if (wrk->wpriv->vcl == NULL)
tmo = 0;
else if (DO_DEBUG(DBG_VTC_MODE))
tmo = now + 1.;
tmo = now + 1.;
else
tmo = now + 60.;
tmo = now + 60.;
(void)Lck_CondWaitUntil(
&wrk->cond, &pp->mtx, tmo);
if (wrk->task->func != NULL) {
......
......@@ -1393,8 +1393,8 @@ h2_rxframe(struct worker *wrk, struct h2_sess *h2)
if (h2->do_sweep)
(void)h2_sweep(wrk, h2);
h2->rxf_len = vbe32dec(h2->htc->rxbuf_b) >> 8;
h2->rxf_type = h2->htc->rxbuf_b[3];
h2->rxf_len = vbe32dec(h2->htc->rxbuf_b) >> 8;
h2->rxf_type = h2->htc->rxbuf_b[3];
h2->rxf_flags = h2->htc->rxbuf_b[4];
h2->rxf_stream = vbe32dec(h2->htc->rxbuf_b + 5);
h2->rxf_stream &= ~(1LU<<31); // rfc7540,l,690,692
......
......@@ -206,7 +206,7 @@ num_encode(struct hpk_iter *iter, uint8_t prefix, uint32_t num)
uint8_t pmax = (1U << prefix) - 1U;
*iter->buf &= 0xffU << prefix;
if (num <= pmax) {
if (num <= pmax) {
*iter->buf++ |= num;
return (ITER_DONE(iter));
} else if (iter->end - iter->buf < 2)
......
......@@ -527,7 +527,7 @@ i_mode(void)
"could not find 'abs_top_builddir' in Makefile\n");
exit(2);
}
topbuild = strchr(p + 1, '\n');
topbuild = strchr(p + 1, '\n');
if (topbuild == NULL) {
fprintf(stderr,
"No NL after 'abs_top_builddir' in Makefile\n");
......
......@@ -327,7 +327,7 @@ enum vsl_check {
vsl_check_e_notsupp = -1,
vsl_check_e_inval = 0,
vsl_check_warn = 1,
vsl_check_valid = 2
vsl_check_valid = 2
};
enum vsl_check
......
......@@ -1055,15 +1055,15 @@ xyzzy_get_ip(VRT_CTX)
extern const struct vmod_data Vmod_wrong0_Data;
const struct vmod_data Vmod_wrong0_Data = {
.vrt_major = 0,
.vrt_minor = 0,
.vrt_major = 0,
.vrt_minor = 0,
};
//lint -save -e835 A zero has been given as left argument to operatorp'+'
extern const struct vmod_data Vmod_wrong1_Data;
const struct vmod_data Vmod_wrong1_Data = {
.vrt_major = VRT_MAJOR_VERSION,
.vrt_minor = VRT_MINOR_VERSION + 1,
.vrt_major = VRT_MAJOR_VERSION,
.vrt_minor = VRT_MINOR_VERSION + 1,
};
//lint -restore
......@@ -1073,8 +1073,8 @@ static const struct foo {
extern const struct vmod_data Vmod_wrong2_Data;
const struct vmod_data Vmod_wrong2_Data = {
.vrt_major = VRT_MAJOR_VERSION,
.vrt_minor = VRT_MINOR_VERSION,
.vrt_major = VRT_MAJOR_VERSION,
.vrt_minor = VRT_MINOR_VERSION,
.name = "wrongN",
.func = foo_struct,
.func_len = sizeof foo_struct,
......@@ -1084,8 +1084,8 @@ const struct vmod_data Vmod_wrong2_Data = {
extern const struct vmod_data Vmod_wrong3_Data;
const struct vmod_data Vmod_wrong3_Data = {
.vrt_major = VRT_MAJOR_VERSION,
.vrt_minor = VRT_MINOR_VERSION,
.vrt_major = VRT_MAJOR_VERSION,
.vrt_minor = VRT_MINOR_VERSION,
.name = "wrongN",
.func = foo_struct,
.func_len = sizeof foo_struct,
......
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