summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-01-09 03:28:38 +0000
committerDamien Miller <djm@mindrot.org>2020-01-09 21:29:19 +1100
commited3ad71b17adcd1fb4431d145f53cee1c6a1135e (patch)
tree20c9c659841a9768dab50e6543a546ae5fb9fd82
parentcd53476383f0cf475f40ba8ac8deb6b76dd5ce4e (diff)
upstream: fix reversed arguments on expand_proxy_command(); spotted
by anton@ OpenBSD-Commit-ID: db1c32478a01dfbc9c4db171de0f25907bea5775
-rw-r--r--sshconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 0b33ea58..40251ee0 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.323 2019/11/13 04:47:52 deraadt Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.324 2020/01/09 03:28:38 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -86,7 +86,7 @@ static void warn_changed_key(struct sshkey *);
/* Expand a proxy command */
static char *
expand_proxy_command(const char *proxy_command, const char *user,
- const char *host, const char *host_arg, int port)
+ const char *host_arg, const char *host, int port)
{
char *tmp, *ret, strport[NI_MAXSERV];