summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/enqueue.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2009-04-05 16:10:43 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2009-04-05 16:10:43 +0000
commit68ceb672b9a02018c40a32ba2ce8ce09ce4eb0a2 (patch)
treef8aed1df2f52eef33a1706eca7449313508ef61d /usr.sbin/smtpd/enqueue.c
parent43f94892b3946cc080af2e1d55ccb8cb74eb1135 (diff)
ignore -o option (for now at least) when working in enqueue mode, this
prevents smtpctl from choking and allows it to work with more mua's by default. spotted and added to my todo list by oga@
Diffstat (limited to 'usr.sbin/smtpd/enqueue.c')
-rw-r--r--usr.sbin/smtpd/enqueue.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c
index ae028b4a80c..60e4349ce73 100644
--- a/usr.sbin/smtpd/enqueue.c
+++ b/usr.sbin/smtpd/enqueue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: enqueue.c,v 1.10 2009/03/01 12:10:24 jacekm Exp $ */
+/* $OpenBSD: enqueue.c,v 1.11 2009/04/05 16:10:42 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -80,7 +80,8 @@ enqueue(int argc, char *argv[])
>= sizeof(sender))
errx(1, "sender address too long.");
break;
- case 'i':
+ case 'i': /* ignore, interface compatibility */
+ case 'o':
break;
default:
usage();