aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/filesystem/NFSFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xbmc/filesystem/NFSFile.cpp b/xbmc/filesystem/NFSFile.cpp
index 0a8ba94739..6d2e0e3f2b 100644
--- a/xbmc/filesystem/NFSFile.cpp
+++ b/xbmc/filesystem/NFSFile.cpp
@@ -263,9 +263,9 @@ bool CNfsConnection::Connect(const CURL& url, CStdString &relativePath)
resolveHost(url);
ret = splitUrlIntoExportAndPath(url, exportPath, relativePath);
- if(ret && (!exportPath.Equals(m_exportPath,true) ||
- !url.GetHostName().Equals(m_hostName,false)) ||
- (XbmcThreads::SystemClockMillis() - m_lastAccessedTime) > CONTEXT_TIMEOUT)
+ if( (ret && (!exportPath.Equals(m_exportPath,true)) ||
+ !url.GetHostName().Equals(m_hostName,false)) ||
+ (XbmcThreads::SystemClockMillis() - m_lastAccessedTime) > CONTEXT_TIMEOUT )
{
int contextRet = getContextForExport(url.GetHostName() + exportPath);