summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2018-09-20 10:22:15 +0000
committerEric Faurot <eric@cvs.openbsd.org>2018-09-20 10:22:15 +0000
commit57d34ff16360f01300f0f860b5b83cc1d0f37d08 (patch)
tree7237ba85c0d82479dabc0bb5d71b473ef9a4cb57 /usr.sbin/smtpd
parent3121cf713122b3d402e46467c6c6d72d0dfa627d (diff)
fix indentation
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/mta_session.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/usr.sbin/smtpd/mta_session.c b/usr.sbin/smtpd/mta_session.c
index 6cde788b55d..f59757b5a02 100644
--- a/usr.sbin/smtpd/mta_session.c
+++ b/usr.sbin/smtpd/mta_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mta_session.c,v 1.111 2018/09/17 12:16:27 eric Exp $ */
+/* $OpenBSD: mta_session.c,v 1.112 2018/09/20 10:22:14 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -200,22 +200,22 @@ mta_session(struct mta_relay *relay, struct mta_route *route)
if (relay->flags & RELAY_LMTP)
s->flags |= MTA_LMTP;
switch (relay->tls) {
- case RELAY_TLS_SMTPS:
- s->flags |= MTA_FORCE_SMTPS;
- s->flags |= MTA_WANT_SECURE;
- break;
- case RELAY_TLS_STARTTLS:
- s->flags |= MTA_FORCE_TLS;
- s->flags |= MTA_WANT_SECURE;
- break;
- case RELAY_TLS_OPPORTUNISTIC:
- /* do not force anything, try tls then smtp */
- break;
- case RELAY_TLS_NO:
- s->flags |= MTA_FORCE_PLAIN;
- break;
- default:
- fatalx("bad value for relay->tls: %d", relay->tls);
+ case RELAY_TLS_SMTPS:
+ s->flags |= MTA_FORCE_SMTPS;
+ s->flags |= MTA_WANT_SECURE;
+ break;
+ case RELAY_TLS_STARTTLS:
+ s->flags |= MTA_FORCE_TLS;
+ s->flags |= MTA_WANT_SECURE;
+ break;
+ case RELAY_TLS_OPPORTUNISTIC:
+ /* do not force anything, try tls then smtp */
+ break;
+ case RELAY_TLS_NO:
+ s->flags |= MTA_FORCE_PLAIN;
+ break;
+ default:
+ fatalx("bad value for relay->tls: %d", relay->tls);
}
log_debug("debug: mta: %p: spawned for relay %s", s,