fixed the connecthost proto: added the timeout argument
This commit is contained in:
parent
ede5b54edc
commit
d0079d9054
@ -1,5 +1,5 @@
|
|||||||
#ifndef __NONBLOCK_H
|
#ifndef __CONNECT_H
|
||||||
#define __NONBLOCK_H
|
#define __CONNECT_H
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* _ _ ____ _
|
* _ _ ____ _
|
||||||
* Project ___| | | | _ \| |
|
* Project ___| | | | _ \| |
|
||||||
@ -24,6 +24,7 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
CURLcode Curl_connecthost(struct connectdata *conn,
|
CURLcode Curl_connecthost(struct connectdata *conn,
|
||||||
int sockfd, /* input socket, or -1 if none */
|
long timeout, /* milliseconds */
|
||||||
int *socket);
|
int sockfd, /* input socket, or -1 if none */
|
||||||
|
int *socket); /* not set if error is returned */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user