diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2020-01-09 03:28:39 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2020-01-09 03:28:39 +0000 |
commit | 20d63b78be8a4eb48877ea3d80e31efafd5837c4 (patch) | |
tree | ff19ba867f0d0db5270fb0e9dbcbab3769a700ae /usr.bin/ssh/sshconnect.c | |
parent | c92212dd94f19e0e19d0b4b94338ec08799c38bf (diff) |
fix reversed arguments on expand_proxy_command(); spotted by
anton@
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index 494b4d69429..9a8e21219e6 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/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 @@ -74,7 +74,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]; |