diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2018-02-23 04:18:47 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2018-02-23 04:18:47 +0000 |
commit | 0d97f29a6331ebdbd3ba63682a501081c9a38a26 (patch) | |
tree | 5332c8c3229e9b0efa738410262d292b1fee3a3f /usr.bin | |
parent | 3cdbda103668f78a10a649a540c2060d99bb31fd (diff) |
Add missing braces.
Caught by the tinderbox's -Werror=misleading-indentation, ok djm@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index 2ea0d007ee2..ba66b755461 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/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@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -358,9 +358,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; |