mirror of git://anongit.mindrot.org/openssh.git
upstream: correct indentation; no functional change ok tb@
OpenBSD-Commit-ID: dd9702fd43de546bc6a3f4f025c74d6f3692a0d4
This commit is contained in:
parent
fd3cb8a827
commit
5b28096d31
|
@ -1,4 +1,4 @@
|
||||||
/* $OpenBSD: sshconnect.c,v 1.366 2024/01/11 01:45:36 djm Exp $ */
|
/* $OpenBSD: sshconnect.c,v 1.367 2024/04/23 13:34:50 jsg Exp $ */
|
||||||
/*
|
/*
|
||||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||||
|
@ -647,7 +647,7 @@ get_hostfile_hostname_ipaddr(char *hostname, struct sockaddr *hostaddr,
|
||||||
if (options.proxy_command == NULL) {
|
if (options.proxy_command == NULL) {
|
||||||
if (getnameinfo(hostaddr, addrlen,
|
if (getnameinfo(hostaddr, addrlen,
|
||||||
ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST) != 0)
|
ntop, sizeof(ntop), NULL, 0, NI_NUMERICHOST) != 0)
|
||||||
fatal_f("getnameinfo failed");
|
fatal_f("getnameinfo failed");
|
||||||
*hostfile_ipaddr = put_host_port(ntop, port);
|
*hostfile_ipaddr = put_host_port(ntop, port);
|
||||||
} else {
|
} else {
|
||||||
*hostfile_ipaddr = xstrdup("<no hostip for proxy "
|
*hostfile_ipaddr = xstrdup("<no hostip for proxy "
|
||||||
|
|
Loading…
Reference in New Issue