diff options
| -rwxr-xr-x | indra/llvfs/lldiriterator.cpp | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/indra/llvfs/lldiriterator.cpp b/indra/llvfs/lldiriterator.cpp index a9d96c9807..76296ff877 100755 --- a/indra/llvfs/lldiriterator.cpp +++ b/indra/llvfs/lldiriterator.cpp @@ -127,7 +127,8 @@ bool LLDirIterator::Impl::next(std::string &fname)  		{  			boost::smatch match;  			std::string name = mIter->path().filename().string(); -			if (found = boost::regex_match(name, match, mFilterExp)) +			found = boost::regex_match(name, match, mFilterExp); +			if (found)  			{  				fname = name;  			} | 
