diff options
author | Jonathan Marshall <jmarshall@never.you.mind> | 2012-05-31 15:35:16 +1200 |
---|---|---|
committer | Jonathan Marshall <jmarshall@never.you.mind> | 2012-05-31 15:35:16 +1200 |
commit | 12d9d515a65a4314dab15a6964475ca58dcb764d (patch) | |
tree | 4b56ef9e7d9d4b610d76d72a94e61dd86e2ea7bd | |
parent | cbe9ef4ec1a3dce25137f274766bb439270ec17b (diff) |
fix infinite loop in SMBDirectory, thanks to ServerAlex for the heads up. closes #13068
-rw-r--r-- | xbmc/filesystem/SMBDirectory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/filesystem/SMBDirectory.cpp b/xbmc/filesystem/SMBDirectory.cpp index 8816189add..c0b4e44c72 100644 --- a/xbmc/filesystem/SMBDirectory.cpp +++ b/xbmc/filesystem/SMBDirectory.cpp @@ -318,6 +318,7 @@ int CSMBDirectory::OpenDir(const CURL& url, CStdString& strAuth) if (m_flags & DIR_FLAG_ALLOW_PROMPT) SetErrorDialog(257, cError.c_str()); + break; } if (fd < 0) |