diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2018-02-23 04:18:46 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-23 15:34:58 +1100 |
commit | 3e19fb976a47b44b3d7c4f8355269f7f2c5dd82c (patch) | |
tree | adcca87654b495af6047b2cecb099e622fce1077 /sshconnect.c | |
parent | b59162da99399d89bd57f71c170c0003c55b1583 (diff) |
upstream: Add missing braces.
Caught by the tinderbox's -Werror=misleading-indentation, ok djm@
OpenBSD-Commit-ID: d44656af594c3b2366eb87d6abcef83e1c88a6ca
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sshconnect.c b/sshconnect.c index 442424b40..07eae09f6 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.295 2018/02/23 02:34:33 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.296 2018/02/23 04:18:46 dtucker Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -376,9 +376,10 @@ ssh_create_socket(int privileged, struct addrinfo *ai) | |||
376 | ssh_gai_strerror(r)); | 376 | ssh_gai_strerror(r)); |
377 | goto fail; | 377 | goto fail; |
378 | } | 378 | } |
379 | if (res == NULL) | 379 | if (res == NULL) { |
380 | error("getaddrinfo: no addrs"); | 380 | error("getaddrinfo: no addrs"); |
381 | goto fail; | 381 | goto fail; |
382 | } | ||
382 | if (res->ai_addrlen > sizeof(bindaddr)) { | 383 | if (res->ai_addrlen > sizeof(bindaddr)) { |
383 | error("%s: addr doesn't fit", __func__); | 384 | error("%s: addr doesn't fit", __func__); |
384 | goto fail; | 385 | goto fail; |