mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-27 07:28:17 +01:00
Use Glib::usleep for portability
This commit is contained in:
parent
8ddd12a60d
commit
d76efc97a3
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ http_get_thread (void *arg) {
|
|||
char *res = NULL;
|
||||
do {
|
||||
res=a3_curl_http_get(url, &status);
|
||||
if (status == 503) usleep(5000); // try-again
|
||||
if (status == 503) Glib::usleep(5000); // try-again
|
||||
} while (status == 503 && --timeout > 0);
|
||||
|
||||
if (status != 200 || !res) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue