diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-08-08 11:10:17 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-08-08 11:23:31 +0200 |
commit | 3dcc0df5ccac15275f612f5c275ea320f5f41cd4 (patch) | |
tree | 72a6ccfc4ba892b952328d43f2140dffad117113 /lib/socks.h | |
parent | da3ae20da56676361e959d07956dddc641a4a6a7 (diff) | |
download | curl-3dcc0df5ccac15275f612f5c275ea320f5f41cd4.tar.gz |
SOCKS: fix the connect timeout
The connect timeout logic when using SOCKS was done wrong
Bug: http://curl.haxx.se/mail/lib-2011-07/0177.html
Reported by: "Spoon Man"
Diffstat (limited to 'lib/socks.h')
-rw-r--r-- | lib/socks.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/socks.h b/lib/socks.h index 42b8080b0..fc4cc7f02 100644 --- a/lib/socks.h +++ b/lib/socks.h @@ -39,8 +39,7 @@ int Curl_blockread_all(struct connectdata *conn, curl_socket_t sockfd, char *buf, ssize_t buffersize, - ssize_t *n, - long conn_timeout); + ssize_t *n); /* * This function logs in to a SOCKS4(a) proxy and sends the specifics to the |