summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libmilter/main.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-05-28 17:08:52 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-05-28 17:08:52 +0000
commit5338b6ff5f88e435da457fd0ec979a333012a0ef (patch)
treea5a76aa374529c5644a8991fe62c81f6b9b89964 /contrib/sendmail/libmilter/main.c
parent8d82727087db5182be90a20f20175cc720c5d1e5 (diff)
downloadFreeBSD-src-5338b6ff5f88e435da457fd0ec979a333012a0ef.zip
FreeBSD-src-5338b6ff5f88e435da457fd0ec979a333012a0ef.tar.gz
Import sendmail 8.11.4
Diffstat (limited to 'contrib/sendmail/libmilter/main.c')
-rw-r--r--contrib/sendmail/libmilter/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/sendmail/libmilter/main.c b/contrib/sendmail/libmilter/main.c
index 7ea1ba7..6afebdb 100644
--- a/contrib/sendmail/libmilter/main.c
+++ b/contrib/sendmail/libmilter/main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999-2000 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1999-2001 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -9,7 +9,7 @@
*/
#ifndef lint
-static char id[] = "@(#)$Id: main.c,v 8.34.4.9 2000/09/09 02:23:03 gshapiro Exp $";
+static char id[] = "@(#)$Id: main.c,v 8.34.4.11 2001/05/07 22:06:37 gshapiro Exp $";
#endif /* ! lint */
#if _FFR_MILTER
@@ -131,9 +131,11 @@ smfi_setbacklog(obacklog)
return MI_SUCCESS;
}
+
int
smfi_main()
{
+
signal(SIGPIPE, SIG_IGN);
if (conn == NULL)
{
@@ -151,6 +153,7 @@ smfi_main()
return MI_FAILURE;
}
+
/* Startup the listener */
if (mi_listener(conn, dbg, smfi, timeout, backlog) != MI_SUCCESS)
return MI_FAILURE;
OpenPOWER on IntegriCloud