summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-09-18 07:52:55 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-09-18 07:52:55 +0000
commite673feb759802bfedce949d86dd47a9c2d1de483 (patch)
treec1be850062150f851c9ae87568ebb20f9402596d
parentcc4ca7a7d7008c7f7e3aa56aad94a6284eb2e5bb (diff)
missing {}; bug #656; jclonguet at free.fr
-rw-r--r--usr.bin/ssh/sshconnect.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 94bf47bfd4c..6a57696df0a 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -13,7 +13,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.147 2003/06/29 12:44:38 markus Exp $");
+RCSID("$OpenBSD: sshconnect.c,v 1.148 2003/09/18 07:52:54 markus Exp $");
#include <openssl/bn.h>
@@ -267,9 +267,10 @@ timeout_connect(int sockfd, const struct sockaddr *serv_addr,
optval = 0;
optlen = sizeof(optval);
if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &optval,
- &optlen) == -1)
+ &optlen) == -1) {
debug("getsockopt: %s", strerror(errno));
break;
+ }
if (optval != 0) {
errno = optval;
break;