summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2019-08-29 09:24:31 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2019-08-29 09:24:31 +0000
commit65288a8835d0f75092107831a5448524c9db1b65 (patch)
tree03dc7a245c8d36e1dc8333e452a6200616580746 /usr.sbin
parent50ceb09617f73718ce169aab27c9896a2e7d7953 (diff)
the latest commit introduced a regression in DATA filters
ok martijn@
Diffstat (limited to 'usr.sbin')
-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);