Skip to content

Commit

Permalink
[fix] - parentheses warning - thx cptspiff
Browse files Browse the repository at this point in the history
  • Loading branch information
Memphiz committed Apr 30, 2012
1 parent 761500f commit 4505d08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xbmc/filesystem/NFSFile.cpp
Expand Up @@ -263,9 +263,9 @@ bool CNfsConnection::Connect(const CURL& url, CStdString &relativePath)
resolveHost(url); resolveHost(url);
ret = splitUrlIntoExportAndPath(url, exportPath, relativePath); ret = splitUrlIntoExportAndPath(url, exportPath, relativePath);


if(ret && (!exportPath.Equals(m_exportPath,true) || if( (ret && (!exportPath.Equals(m_exportPath,true)) ||
!url.GetHostName().Equals(m_hostName,false)) || !url.GetHostName().Equals(m_hostName,false)) ||
(XbmcThreads::SystemClockMillis() - m_lastAccessedTime) > CONTEXT_TIMEOUT) (XbmcThreads::SystemClockMillis() - m_lastAccessedTime) > CONTEXT_TIMEOUT )
{ {
int contextRet = getContextForExport(url.GetHostName() + exportPath); int contextRet = getContextForExport(url.GetHostName() + exportPath);


Expand Down

0 comments on commit 4505d08

Please sign in to comment.