Commit 3ffbaed8 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Lasse Karstensen

White-space copy&paste fixups

parent da49eb78
......@@ -324,5 +324,5 @@ VTCP_check_hup(int sock)
if (poll(&pfd, 1, 0) == 1 && pfd.revents & POLLHUP)
return (1);
return (0);
return (0);
}
......@@ -1025,7 +1025,7 @@ vcc_expr_cmp(struct vcc *tl, struct expr **e, enum var_type fmt)
}
if ((*e)->fmt == STRING &&
(tl->t->tok == '~' || tl->t->tok == T_NOMATCH)) {
not = tl->t->tok == '~' ? "" : "!";
not = tl->t->tok == '~' ? "" : "!";
vcc_NextToken(tl);
ExpectErr(tl, CSTR);
re = vcc_regexp(tl);
......@@ -1037,7 +1037,7 @@ vcc_expr_cmp(struct vcc *tl, struct expr **e, enum var_type fmt)
}
if ((*e)->fmt == IP &&
(tl->t->tok == '~' || tl->t->tok == T_NOMATCH)) {
not = tl->t->tok == '~' ? "" : "!";
not = tl->t->tok == '~' ? "" : "!";
vcc_NextToken(tl);
ExpectErr(tl, ID);
vcc_AddRef(tl, tl->t, SYM_ACL);
......
......@@ -93,7 +93,7 @@ vmod_test_priv_vcl(const struct vrt_ctx *ctx, struct vmod_priv *priv)
{
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
assert(!strcmp(priv->priv, "FOO"));
assert(!strcmp(priv->priv, "FOO"));
}
VCL_BLOB
......
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