diff options
author | Loren Shih <seraph@lindenlab.com> | 2011-01-13 10:28:15 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2011-01-13 10:28:15 -0500 |
commit | 584c7ecb4ed02e9ab039c6254ffc33331c31058c (patch) | |
tree | 19e34f57dc625da58f03e4eb659b721e38f072a7 /indra/newview/lllogchat.cpp | |
parent | e7f068c37ef18315a11f1054bfd095b3420025aa (diff) | |
parent | 55322713fc071a3e171fd4cfbea989945dc8d084 (diff) |
Automated merge up from viewer-development
Diffstat (limited to 'indra/newview/lllogchat.cpp')
-rw-r--r-- | indra/newview/lllogchat.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp index 9adf374c71..b09cfbe907 100644 --- a/indra/newview/lllogchat.cpp +++ b/indra/newview/lllogchat.cpp @@ -32,6 +32,7 @@ #include "lltrans.h" #include "llviewercontrol.h" +#include "lldiriterator.h" #include "llinstantmessage.h" #include "llsingleton.h" // for LLSingleton @@ -601,7 +602,8 @@ std::string LLLogChat::oldLogFileName(std::string filename) //LL_INFOS("") << "Checking:" << directory << " for " << pattern << LL_ENDL;/* uncomment if you want to verify step, delete on commit */ std::vector<std::string> allfiles; - while (gDirUtilp->getNextFileInDir(directory, pattern, scanResult)) + LLDirIterator iter(directory, pattern); + while (iter.next(scanResult)) { //LL_INFOS("") << "Found :" << scanResult << LL_ENDL; allfiles.push_back(scanResult); |