summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-07-28 10:24:27 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-07-28 10:24:27 +0000
commit0a702c5ea0e333a781f44a7f6a2acc660a916d43 (patch)
treec8949f409cd1c12be417de6d16b917a4f80b8d67 /usr.sbin
parentcc8d3f678394335a2c2049b1e44be1adeeda578c (diff)
spacing
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/relayd/relay.c4
-rw-r--r--usr.sbin/relayd/relay_http.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
index 107afb52d29..f14d7c99b4f 100644
--- a/usr.sbin/relayd/relay.c
+++ b/usr.sbin/relayd/relay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay.c,v 1.197 2015/07/18 16:01:28 benno Exp $ */
+/* $OpenBSD: relay.c,v 1.198 2015/07/28 10:24:26 reyk Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
@@ -870,7 +870,7 @@ relay_splice(struct ctl_relay_event *cre)
if (cre->bev == NULL || cre->dst->bev == NULL)
return (0);
- if (! (cre->toread == TOREAD_UNLIMITED || cre->toread > 0)) {
+ if (!(cre->toread == TOREAD_UNLIMITED || cre->toread > 0)) {
DPRINTF("%s: session %d: splice dir %d, nothing to read %lld",
__func__, con->se_id, cre->dir, cre->toread);
return (0);
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c
index 351e89181ec..3c6aa05b790 100644
--- a/usr.sbin/relayd/relay_http.c
+++ b/usr.sbin/relayd/relay_http.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relay_http.c,v 1.51 2015/07/18 16:01:28 benno Exp $ */
+/* $OpenBSD: relay_http.c,v 1.52 2015/07/28 10:24:26 reyk Exp $ */
/*
* Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org>
@@ -1349,7 +1349,7 @@ relay_httpcookie_test(struct ctl_relay_event *cre, struct relay_rule *rule,
struct kvlist *actions)
{
struct http_descriptor *desc = cre->desc;
- struct kv *kv = &rule->rule_kv[KEY_TYPE_COOKIE], key;
+ struct kv *kv = &rule->rule_kv[KEY_TYPE_COOKIE], key;
struct kv *match = NULL;
if (kv->kv_type != KEY_TYPE_COOKIE)