1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

Make ssh_connect_ai_timeout static.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@212 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-02-02 15:41:00 +00:00
parent 5d798f6225
commit 5db7ec356b

View File

@@ -91,8 +91,8 @@ static int getai(const char *host, int port, struct addrinfo **ai)
return getaddrinfo(host,service,&hints,ai);
}
int ssh_connect_ai_timeout(SSH_SESSION *session, const char *host, int port, struct addrinfo *ai,
long timeout, long usec,socket_t s)
static int ssh_connect_ai_timeout(SSH_SESSION *session, const char *host,
int port, struct addrinfo *ai, long timeout, long usec,socket_t s)
{
struct timeval to;
fd_set set;