summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2019-08-29 09:24:30 +0000
committergilles <gilles@openbsd.org>2019-08-29 09:24:30 +0000
commit1c32afd19291f22a17187b2676c1d8dd80d2656c (patch)
treed67f0825d3ab8b01abd9b196489234c41609361c
parentAlways parse RSN/WPA IEs if the driver announces support for RSN. (diff)
downloadwireguard-openbsd-1c32afd19291f22a17187b2676c1d8dd80d2656c.tar.xz
wireguard-openbsd-1c32afd19291f22a17187b2676c1d8dd80d2656c.zip
the latest commit introduced a regression in DATA filters
ok martijn@
-rw-r--r--usr.sbin/smtpd/lka_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka_proc.c b/usr.sbin/smtpd/lka_proc.c
index f639a10fc06..e840653018f 100644
--- a/usr.sbin/smtpd/lka_proc.c
+++ b/usr.sbin/smtpd/lka_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_proc.c,v 1.9 2019/08/28 15:37:28 martijn Exp $ */
+/* $OpenBSD: lka_proc.c,v 1.10 2019/08/29 09:24:30 gilles Exp $ */
/*
* Copyright (c) 2018 Gilles Chehade <gilles@poolp.org>
@@ -162,7 +162,7 @@ processor_io(struct io *io, int evt, void *arg)
fatalx("Non-register message before register|"
"ready: %s", line);
else if (strncmp(line, "filter-result|", 14) == 0 ||
- strncmp(line, "filter-dataline|", 16) || 0)
+ strncmp(line, "filter-dataline|", 16) == 0)
lka_filter_process_response(name, line);
else
fatalx("Invalid filter message type: %s", line);