summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-08-04 13:07:03 +0000
committerpeter <peter@FreeBSD.org>1998-08-04 13:07:03 +0000
commit5cf97714c294ea64513723ad6c9cc28310b71fff (patch)
tree53901194b1b149448f0b2f1e311b7f60230fe5a7 /contrib
parentc716718d5368af5c003a1cd1c250e1d150cd2936 (diff)
downloadFreeBSD-src-5cf97714c294ea64513723ad6c9cc28310b71fff.zip
FreeBSD-src-5cf97714c294ea64513723ad6c9cc28310b71fff.tar.gz
Copy original rev 1.2 - immediate delivery rather than queueing and -Wall.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sendmail/rmail/rmail.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/sendmail/rmail/rmail.c b/contrib/sendmail/rmail/rmail.c
index 5a1795a..ff3fcef 100644
--- a/contrib/sendmail/rmail/rmail.c
+++ b/contrib/sendmail/rmail/rmail.c
@@ -163,6 +163,8 @@ main(argc, argv)
if (argc < 1)
usage();
+ fplen = fptlen = 0;
+ addrp = "";
from_path = from_sys = from_user = NULL;
for (offset = 0;;) {
@@ -273,7 +275,11 @@ main(argc, argv)
i = 0;
args[i++] = _PATH_SENDMAIL; /* Build sendmail's argument list. */
args[i++] = "-oee"; /* No errors, just status. */
+#ifdef QUEUE_ONLY
args[i++] = "-odq"; /* Queue it, don't try to deliver. */
+#else
+ args[i++] = "-odi"; /* Deliver in foreground. */
+#endif
args[i++] = "-oi"; /* Ignore '.' on a line by itself. */
/* set from system and protocol used */
OpenPOWER on IntegriCloud