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/llviewermedia.cpp | |
parent | e7f068c37ef18315a11f1054bfd095b3420025aa (diff) | |
parent | 55322713fc071a3e171fd4cfbea989945dc8d084 (diff) |
Automated merge up from viewer-development
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r-- | indra/newview/llviewermedia.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index cd72e69055..d78eef70bd 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -54,6 +54,7 @@ #include "llfilepicker.h" #include "llnotifications.h" +#include "lldiriterator.h" #include "llevent.h" // LLSimpleListener #include "llnotificationsutil.h" #include "lluuid.h" @@ -1115,7 +1116,8 @@ void LLViewerMedia::clearAllCookies() } // the hard part: iterate over all user directories and delete the cookie file from each one - while(gDirUtilp->getNextFileInDir(base_dir, "*_*", filename)) + LLDirIterator dir_iter(base_dir, "*_*"); + while (dir_iter.next(filename)) { target = base_dir; target += filename; |