summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 180da43cd..10a614127 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.161 2005/03/02 01:00:06 djm Exp $"); 16RCSID("$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
@@ -254,13 +254,13 @@ timeout_connect(int sockfd, const struct sockaddr *serv_addr,
254 tv.tv_sec = timeout; 254 tv.tv_sec = timeout;
255 tv.tv_usec = 0; 255 tv.tv_usec = 0;
256 256
257 for(;;) { 257 for (;;) {
258 rc = select(sockfd + 1, NULL, fdset, NULL, &tv); 258 rc = select(sockfd + 1, NULL, fdset, NULL, &tv);
259 if (rc != -1 || errno != EINTR) 259 if (rc != -1 || errno != EINTR)
260 break; 260 break;
261 } 261 }
262 262
263 switch(rc) { 263 switch (rc) {
264 case 0: 264 case 0:
265 /* Timed out */ 265 /* Timed out */
266 errno = ETIMEDOUT; 266 errno = ETIMEDOUT;