From d76efc97a34d0bdc46025032f93471ea4373b0a3 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 30 Aug 2013 09:43:44 +1000 Subject: [PATCH] Use Glib::usleep for portability --- gtk2_ardour/video_image_frame.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/video_image_frame.cc b/gtk2_ardour/video_image_frame.cc index 864aca4bb9..58e0d68d71 100644 --- a/gtk2_ardour/video_image_frame.cc +++ b/gtk2_ardour/video_image_frame.cc @@ -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) {