[openssh-commits] [openssh] 01/01: upstream: Add missing braces.
git+noreply at mindrot.org
git+noreply at mindrot.org
Fri Feb 23 15:35:36 AEDT 2018
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 3e19fb976a47b44b3d7c4f8355269f7f2c5dd82c
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Fri Feb 23 04:18:46 2018 +0000
upstream: Add missing braces.
Caught by the tinderbox's -Werror=misleading-indentation, ok djm@
OpenBSD-Commit-ID: d44656af594c3b2366eb87d6abcef83e1c88a6ca
---
sshconnect.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sshconnect.c b/sshconnect.c
index 442424b4..07eae09f 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.295 2018/02/23 02:34:33 djm Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.296 2018/02/23 04:18:46 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo at cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -376,9 +376,10 @@ ssh_create_socket(int privileged, struct addrinfo *ai)
ssh_gai_strerror(r));
goto fail;
}
- if (res == NULL)
+ if (res == NULL) {
error("getaddrinfo: no addrs");
goto fail;
+ }
if (res->ai_addrlen > sizeof(bindaddr)) {
error("%s: addr doesn't fit", __func__);
goto fail;
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list