mirror of
https://github.com/curl/curl.git
synced 2026-07-23 07:17:17 +03:00
axtls: Use Curl_wait_ms instead of the less-portable usleep
This commit is contained in:
parent
52c5e9488c
commit
b1839f6ed8
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue