diff options
author | elupus <elupus@svn> | 2009-11-21 13:30:05 +0000 |
---|---|---|
committer | elupus <elupus@svn> | 2009-11-21 13:30:05 +0000 |
commit | 8c4d23b0055a17e8a0a5e8f3a582d4fc51eea3fc (patch) | |
tree | 31c26d3920b5a7c0bf9d8ebbdcaf560880591a29 | |
parent | a522b0b0a62691d922e94065bcbdbcb1e455674c (diff) |
fixed: after first call to multi_perform libcurl doesn't have to have finished connecting
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24828 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/FileSystem/FileCurl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/FileSystem/FileCurl.cpp b/xbmc/FileSystem/FileCurl.cpp index f87ec0876b..6a5d30424a 100644 --- a/xbmc/FileSystem/FileCurl.cpp +++ b/xbmc/FileSystem/FileCurl.cpp @@ -1156,7 +1156,8 @@ bool CFileCurl::CReadState::FillBuffer(unsigned int want) } // We've finished out first loop - m_bFirstLoop=false; + if(m_bFirstLoop && m_buffer.GetMaxReadSize() > 0) + m_bFirstLoop = false; switch (result) { |