summaryrefslogtreecommitdiff
path: root/indra/newview/lllogchat.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2011-01-12 12:07:03 -0800
committerMerov Linden <merov@lindenlab.com>2011-01-12 12:07:03 -0800
commit038b38c446f18f60916b5c859eea0711f0b420d0 (patch)
treeb1da90c24a8268dc659979eaee84c63bdc7777f5 /indra/newview/lllogchat.cpp
parentc020c5c0f3454d4930078651f446e5494d6137b6 (diff)
parent4af9db7b79f5721d1be6b8b94dd1e0ce97782d79 (diff)
STORM-477 : pull in viewer-development
Diffstat (limited to 'indra/newview/lllogchat.cpp')
-rw-r--r--indra/newview/lllogchat.cpp4
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);