From c43fc84bb02202ef2fa0c9331960f02ebe2b23da Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 15 Jun 2020 01:57:29 +0000 Subject: Rename blacklist -> blocklist --- libexec/ftpd/Makefile | 6 +++--- libexec/ftpd/pfilter.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'libexec') diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index 2518fcf7433..1595c46b414 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.67 2019/10/15 18:29:21 christos Exp $ +# $NetBSD: Makefile,v 1.68 2020/06/15 01:57:31 christos Exp $ # @(#)Makefile 8.2 (Berkeley) 4/4/94 .include @@ -12,8 +12,8 @@ MAN= ftpd.conf.5 ftpusers.5 ftpd.8 MLINKS= ftpusers.5 ftpchroot.5 SRCS+= pfilter.c -LDADD+= -lblacklist -DPADD+= ${LIBBLACKLIST} +LDADD+= -lblocklist +DPADD+= ${LIBBLOCKLIST} .if defined(NO_INTERNAL_LS) CPPFLAGS+=-DNO_INTERNAL_LS diff --git a/libexec/ftpd/pfilter.c b/libexec/ftpd/pfilter.c index 9596e9eaf71..40ca50896c9 100644 --- a/libexec/ftpd/pfilter.c +++ b/libexec/ftpd/pfilter.c @@ -1,16 +1,16 @@ #include #include -#include +#include #include "pfilter.h" -static struct blacklist *blstate; +static struct blocklist *blstate; void pfilter_open(void) { if (blstate == NULL) - blstate = blacklist_open(); + blstate = blocklist_open(); } void @@ -21,5 +21,5 @@ pfilter_notify(int what, const char *msg) if (blstate == NULL) return; - blacklist_r(blstate, what, STDIN_FILENO, msg); + blocklist_r(blstate, what, STDIN_FILENO, msg); } -- cgit