diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2011-05-11 18:12:23 +0300 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2011-05-11 18:12:23 +0300 |
commit | e213a36f703629dcfe27ed65ac1f66a5a5194b67 (patch) | |
tree | 59a27b2c3552eb42139da0d2a45e4a9dde718f78 /indra/newview/lllogchat.cpp | |
parent | 662bc0803cc9306062a0106467fd8b83290b4bcf (diff) |
STORM-477 Restored the backed out changeset: b62b260aa04d
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 2df683861a..efc4e23838 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 @@ -602,7 +603,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); |