axtls: Use Curl_wait_ms instead of the less-portable usleep

This commit is contained in:
Dan Fandrich 2016-06-16 08:44:08 +02:00
parent 52c5e9488c
commit b1839f6ed8

View File

@ -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");