From 97a6bca736a9328cbfc83ecf2614ff35d4e1c7a0 Mon Sep 17 00:00:00 2001 From: eric Date: Thu, 20 Sep 2018 10:22:14 +0000 Subject: [PATCH] fix indentation --- usr.sbin/smtpd/mta_session.c | 34 +++++++++++++++++----------------- 1 file 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 @@ -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, -- 2.20.1