Displaying 1 result from an estimated 1 matches for "sigfunc".
Did you mean:
ifunc
2002 Oct 30
1
connect() timeout patch.
...= atoi(optarg);
+ break;
case 'l':
options.user = optarg;
break;
--- sshconnect.c Wed Sep 18 22:05:04 2002
+++ ../openssh-3.5p1.modlwc/sshconnect.c Wed Oct 30 09:50:37 2002
@@ -236,10 +236,12 @@
{
int gaierr;
int on = 1;
- int sock = -1, attempt;
+ int sock = -1, attempt, sigfunc;
+ void timeout(void); /* Function to handle socket timeout */
char ntop[NI_MAXHOST], strport[NI_MAXSERV];
struct addrinfo hints, *ai, *aitop;
struct servent *sp;
+
/*
* Did we get only other errors than "Connection refused" (which
* should block fallback to rsh and similar)...