From: Dan Fandrich Date: Thu, 16 Jun 2016 06:44:08 +0000 (+0200) Subject: axtls: Use Curl_wait_ms instead of the less-portable usleep X-Git-Tag: curl-7_50_0~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1839f6ed8bc8d9324c1fcf334955ddabf47b936;p=curl axtls: Use Curl_wait_ms instead of the less-portable usleep --- diff --git a/lib/vtls/axtls.c b/lib/vtls/axtls.c index 94bd145ab..85e45f597 100644 --- a/lib/vtls/axtls.c +++ b/lib/vtls/axtls.c @@ -499,7 +499,7 @@ Curl_axtls_connect(struct connectdata *conn, return map_error_to_curl(ssl_fcn_return); } /* TODO: avoid polling */ - usleep(10000); + Curl_wait_ms(10); } infof (conn->data, "handshake completed successfully\n");