summaryrefslogtreecommitdiff
path: root/mail/sendmail/files/patch-main.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2018-01-02 21:48:33 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2018-01-02 21:48:33 +0000
commitcc48fb988e2691cc4c74028ac85a8e2080148230 (patch)
treec1c980fcbf43f3bc2e61449a8eec3e10f45fdef1 /mail/sendmail/files/patch-main.c
parentUpgrade to v.218. (diff)
- fix regression introduced by r457706
PR: 224452 - add option BLACKLISTD https://reviews.freebsd.org/D13475
Notes
Notes: svn path=/head/; revision=457930
Diffstat (limited to 'mail/sendmail/files/patch-main.c')
-rw-r--r--mail/sendmail/files/patch-main.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/mail/sendmail/files/patch-main.c b/mail/sendmail/files/patch-main.c
deleted file mode 100644
index 47e637162bde..000000000000
--- a/mail/sendmail/files/patch-main.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- sendmail/main.c.orig 2016-06-12 18:24:56.170900000 -0400
-+++ sendmail/main.c 2016-06-12 18:30:07.426701000 -0400
-@@ -4642,3 +4642,23 @@
- sm_etype_printf,
- "quick abort %0",
- };
-+
-+#ifdef USE_BLACKLIST
-+static struct blacklist *blstate;
-+
-+void
-+blacklist_init(void)
-+{
-+ blstate = blacklist_open();
-+}
-+
-+void
-+blacklist_notify(int a, int fd, char *msg)
-+{
-+ if (blstate == NULL)
-+ blacklist_init();
-+ if (blstate == NULL)
-+ return;
-+ (void)blacklist_r(blstate, a, fd, msg);
-+}
-+#endif