diff options
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c index 49190560d..07703cf77 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -13,7 +13,7 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "includes.h" | 15 | #include "includes.h" |
16 | RCSID("$OpenBSD: sshconnect.c,v 1.161 2005/03/02 01:00:06 djm Exp $"); | 16 | RCSID("$OpenBSD: sshconnect.c,v 1.162 2005/03/10 22:01:06 deraadt Exp $"); |
17 | 17 | ||
18 | #include <openssl/bn.h> | 18 | #include <openssl/bn.h> |
19 | 19 | ||
@@ -247,13 +247,13 @@ timeout_connect(int sockfd, const struct sockaddr *serv_addr, | |||
247 | tv.tv_sec = timeout; | 247 | tv.tv_sec = timeout; |
248 | tv.tv_usec = 0; | 248 | tv.tv_usec = 0; |
249 | 249 | ||
250 | for(;;) { | 250 | for (;;) { |
251 | rc = select(sockfd + 1, NULL, fdset, NULL, &tv); | 251 | rc = select(sockfd + 1, NULL, fdset, NULL, &tv); |
252 | if (rc != -1 || errno != EINTR) | 252 | if (rc != -1 || errno != EINTR) |
253 | break; | 253 | break; |
254 | } | 254 | } |
255 | 255 | ||
256 | switch(rc) { | 256 | switch (rc) { |
257 | case 0: | 257 | case 0: |
258 | /* Timed out */ | 258 | /* Timed out */ |
259 | errno = ETIMEDOUT; | 259 | errno = ETIMEDOUT; |