summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2019-09-02 19:17:43 +0000
committergilles <gilles@openbsd.org>2019-09-02 19:17:43 +0000
commitc71c61b422c0f2623d31cb3948588879ac56d3f7 (patch)
treed7ad453bec4e4d509e4d944a2bc15dd4b926a1ef
parentFix copyright lines, the "one-inode file system" in i386_softraid.c is my (diff)
downloadwireguard-openbsd-c71c61b422c0f2623d31cb3948588879ac56d3f7.tar.xz
wireguard-openbsd-c71c61b422c0f2623d31cb3948588879ac56d3f7.zip
in standalone smtp client, smtps schema should use ... smtps port
diff from Ross L Richardson <openbsd@rlr.id.au>
-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")) {
}