summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/blacklist.c
diff options
context:
space:
mode:
authorlidl <lidl@FreeBSD.org>2017-05-12 15:03:09 +0000
committerlidl <lidl@FreeBSD.org>2017-05-12 15:03:09 +0000
commit944a090aa688380c81b0463caeb4f0b7d66eb392 (patch)
treec5637d81a0fa91ea00556869186ee8c0e43f58b1 /libexec/ftpd/blacklist.c
parent68b0a07815daf3ca4392e023784588f2ebc2625e (diff)
downloadFreeBSD-src-944a090aa688380c81b0463caeb4f0b7d66eb392.zip
FreeBSD-src-944a090aa688380c81b0463caeb4f0b7d66eb392.tar.gz
MFC r317862:
Improve blacklist support before upgrading libblacklist The locally declared enum of blacklistd actions needs to be hidden when the soon to be committed changes to libblacklist are brought into the tree. Fix the type of the "msg" parameter to match the library. There should be no functional changes. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'libexec/ftpd/blacklist.c')
-rw-r--r--libexec/ftpd/blacklist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/blacklist.c b/libexec/ftpd/blacklist.c
index 85f90b5..7aca755 100644
--- a/libexec/ftpd/blacklist.c
+++ b/libexec/ftpd/blacklist.c
@@ -33,8 +33,8 @@
#include <stdlib.h>
#include <unistd.h>
-#include "blacklist_client.h"
#include <blacklist.h>
+#include "blacklist_client.h"
static struct blacklist *blstate;
extern int use_blacklist;
@@ -48,7 +48,7 @@ blacklist_init(void)
}
void
-blacklist_notify(int action, int fd, char *msg)
+blacklist_notify(int action, int fd, const char *msg)
{
if (blstate == NULL)
OpenPOWER on IntegriCloud