summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relay.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/relayd/relay.c')
-rw-r--r--usr.sbin/relayd/relay.c4
1 files changed, 2 insertions, 2 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);