diff options
-rw-r--r-- | xbmc/filesystem/FileCurl.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/xbmc/filesystem/FileCurl.cpp b/xbmc/filesystem/FileCurl.cpp index 543ccae964..f5c8e628a9 100644 --- a/xbmc/filesystem/FileCurl.cpp +++ b/xbmc/filesystem/FileCurl.cpp @@ -1293,16 +1293,6 @@ bool CFileCurl::CReadState::FillBuffer(unsigned int want) { case CURLM_OK: { - // hack for broken curl, that thinks there is data all the time - // happens especially on ftp during initial connection -#ifndef _LINUX - SwitchToThread(); -#elif __APPLE__ - sched_yield(); -#else - pthread_yield(); -#endif - int maxfd = -1; FD_ZERO(&fdread); FD_ZERO(&fdwrite); |