aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2016-06-16 08:44:08 +0200
committerDan Fandrich <dan@coneharvesters.com>2016-06-16 08:44:08 +0200
commitb1839f6ed8bc8d9324c1fcf334955ddabf47b936 (patch)
tree49ba6cecd06f858ebbfc13b645fc1ecf55f6ffcc /lib
parent52c5e9488c0bebc002d114d747fee697d422d02d (diff)
axtls: Use Curl_wait_ms instead of the less-portable usleep
Diffstat (limited to 'lib')
-rw-r--r--lib/vtls/axtls.c2
1 files changed, 1 insertions, 1 deletions
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");