diff options
| author | Oz Linden <oz@lindenlab.com> | 2012-05-29 12:42:53 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2012-05-29 12:42:53 -0400 |
| commit | 81870e09c98da59bf64289e3fe46f4e4281876d3 (patch) | |
| tree | d9e1a28b3e0e732c6b32d2ea67f5f56de6bc8a7a /indra/mac_updater/mac_updater.cpp | |
| parent | b2baee8e34a141c28fd2a7b60566558c1019c0a9 (diff) | |
| parent | 5db5102fe05f7d2ef3535516da269abb276dad6b (diff) | |
merge changes for DRTVWR-148
Diffstat (limited to 'indra/mac_updater/mac_updater.cpp')
| -rw-r--r-- | indra/mac_updater/mac_updater.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/mac_updater/mac_updater.cpp b/indra/mac_updater/mac_updater.cpp index 809f66cb1d..aa45c5d23f 100644 --- a/indra/mac_updater/mac_updater.cpp +++ b/indra/mac_updater/mac_updater.cpp @@ -1188,9 +1188,7 @@ void *updatethreadproc(void*) llinfos << "Clearing cache..." << llendl; - char mask[LL_MAX_PATH]; /* Flawfinder: ignore */ - snprintf(mask, LL_MAX_PATH, "%s*.*", gDirUtilp->getDirDelimiter().c_str()); - gDirUtilp->deleteFilesInDir(gDirUtilp->getExpandedFilename(LL_PATH_CACHE,""),mask); + gDirUtilp->deleteFilesInDir(gDirUtilp->getExpandedFilename(LL_PATH_CACHE,""), "*.*"); llinfos << "Clear complete." << llendl; |
