summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2019-09-02 19:17:44 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2019-09-02 19:17:44 +0000
commitb1824929df66eae124cc0b4b26c4fac8cd6e8078 (patch)
tree3f85a5535658c83dac7d0d09ae37d55c14e02cbd /usr.sbin
parent1ae77bd87f030055df6d82646f0f9c98dbf3a2dd (diff)
in standalone smtp client, smtps schema should use ... smtps port
diff from Ross L Richardson <openbsd@rlr.id.au>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpc.c b/usr.sbin/smtpd/smtpc.c
index fa4688546da..42257b646a5 100644
--- a/usr.sbin/smtpd/smtpc.c
+++ b/usr.sbin/smtpd/smtpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpc.c,v 1.6 2019/07/02 09:36:20 martijn Exp $ */
+/* $OpenBSD: smtpc.c,v 1.7 2019/09/02 19:17:43 gilles Exp $ */
/*
* Copyright (c) 2018 Eric Faurot <eric@openbsd.org>
@@ -229,7 +229,7 @@ parse_server(char *server)
else if (!strcmp(scheme, "smtps")) {
params.tls_req = TLS_SMTPS;
if (port == NULL)
- port = "submission";
+ port = "smtps";
}
else if (!strcmp(scheme, "smtp")) {
}