diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-03-15 12:56:12 +0100 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-03-15 23:39:40 +0100 |
commit | 083603c63a3f514b957be064ee5eff769cd51c55 (patch) | |
tree | d1d433c2196b51fb1383d6e457c61caa8e5df0ac /lib/vtls | |
parent | dda8babd07fa07668294587255d04c69a6db757f (diff) |
gskit: use our internal select wrapper for portability
Follow up to c52b342
Closes #5106
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/gskit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vtls/gskit.c b/lib/vtls/gskit.c index 32153dd07..2f558479b 100644 --- a/lib/vtls/gskit.c +++ b/lib/vtls/gskit.c @@ -524,7 +524,6 @@ static int pipe_ssloverssl(struct connectdata *conn, int sockindex, int m; int i; int ret = 0; - struct timeval tv = {0, 0}; char buf[CURL_MAX_WRITE_SIZE]; if(!connssl->use || !connproxyssl->use) @@ -544,7 +543,7 @@ static int pipe_ssloverssl(struct connectdata *conn, int sockindex, if(n < conn->sock[sockindex]) n = conn->sock[sockindex]; } - i = select(n + 1, &fds_read, &fds_write, NULL, &tv); + i = Curl_select(n + 1, &fds_read, &fds_write, NULL, 0); if(i < 0) return -1; /* Select error. */ |