Permalink
Browse files

Merge pull request #4545 from Memphiz/nfsexportlist

[win32] - nfs fix
  • Loading branch information...
2 parents fa2681d + aed57e7 commit 4a3b3fc5307891fb2fab6e9141353ce23fff6d89 @t-nelson t-nelson committed Apr 10, 2014
Showing with 4 additions and 2 deletions.
  1. +1 −1 project/BuildDependencies/scripts/0_package.list
  2. +3 −1 xbmc/filesystem/NFSFile.cpp
@@ -13,7 +13,7 @@ lame_enc-3.99.5-win32.7z
libass-0.10.2-win32.7z
libbluray-0.4.0-win32.zip
libjpeg-turbo-1.2.0-win32.7z
-libnfs-1.3.0-win32.7z
+libnfs-1.6.2-win32.7z
libshairplay-41a66c9-win32.7z
libssh-0.5.0-1-win32.zip
libxml2-2.7.8_1-win32.7z
@@ -123,9 +123,11 @@ bool CNfsConnection::HandleDyLoad()
void CNfsConnection::clearMembers()
{
+ // NOTE - DON'T CLEAR m_exportList HERE!
+ // splitUrlIntoExportAndPath checks for m_exportList.empty()
+ // and would query the server in an excessive unwanted fashion
m_exportPath.clear();
m_hostName.clear();
- m_exportList.clear();
m_writeChunkSize = 0;
m_readChunkSize = 0;
m_pNfsContext = NULL;

0 comments on commit 4a3b3fc

Please sign in to comment.