summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-23 18:49:28 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-23 18:49:28 +1000
commitd640322dd83423ee78cea4d576ea29395454dabd (patch)
tree545c12a236b0b9a6b33093e16ae577128a7ed581
parentefa09bf250909dca709deb74402ff6a8e86cc3c1 (diff)
- markus@cvs.openbsd.org 2003/09/18 07:52:54
[sshconnect.c] missing {}; bug #656; jclonguet at free.fr
-rw-r--r--ChangeLog8
-rw-r--r--sshconnect.c5
2 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 46700ecf5..06c1937ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
120030923 120030923
2 - (dtucker) OpenBSD CVS Sync
3 - markus@cvs.openbsd.org 2003/09/18 07:52:54
4 [sshconnect.c]
5 missing {}; bug #656; jclonguet at free.fr
6
720030922
2 - (dtucker) [Makefile.in] Bug #644: Fix "make clean" for out-of-tree 8 - (dtucker) [Makefile.in] Bug #644: Fix "make clean" for out-of-tree
3 builds. Portability corrections from tim@. 9 builds. Portability corrections from tim@.
4 - (dtucker) [configure.ac] Bug #665: uid swapping issues on Mac OS X. 10 - (dtucker) [configure.ac] Bug #665: uid swapping issues on Mac OS X.
@@ -1162,4 +1168,4 @@
1162 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 1168 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
1163 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 1169 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
1164 1170
1165$Id: ChangeLog,v 1.2994.2.27 2003/09/23 02:51:36 tim Exp $ 1171$Id: ChangeLog,v 1.2994.2.28 2003/09/23 08:49:28 dtucker Exp $
diff --git a/sshconnect.c b/sshconnect.c
index 40d22800f..f29ac8088 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,7 +13,7 @@
13 */ 13 */
14 14
15#include "includes.h" 15#include "includes.h"
16RCSID("$OpenBSD: sshconnect.c,v 1.147 2003/06/29 12:44:38 markus Exp $"); 16RCSID("$OpenBSD: sshconnect.c,v 1.148 2003/09/18 07:52:54 markus Exp $");
17 17
18#include <openssl/bn.h> 18#include <openssl/bn.h>
19 19
@@ -271,9 +271,10 @@ timeout_connect(int sockfd, const struct sockaddr *serv_addr,
271 optval = 0; 271 optval = 0;
272 optlen = sizeof(optval); 272 optlen = sizeof(optval);
273 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &optval, 273 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &optval,
274 &optlen) == -1) 274 &optlen) == -1) {
275 debug("getsockopt: %s", strerror(errno)); 275 debug("getsockopt: %s", strerror(errno));
276 break; 276 break;
277 }
277 if (optval != 0) { 278 if (optval != 0) {
278 errno = optval; 279 errno = optval;
279 break; 280 break;