From b1839f6ed8bc8d9324c1fcf334955ddabf47b936 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 16 Jun 2016 08:44:08 +0200 Subject: axtls: Use Curl_wait_ms instead of the less-portable usleep --- lib/vtls/axtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3