diff options
author | Oz Linden <oz@lindenlab.com> | 2012-06-27 08:10:29 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-06-27 08:10:29 -0400 |
commit | 5ed8ec6ca45fcae6a6708e55326010fd8c05d76c (patch) | |
tree | 433af79631cf0f386c6cf991cb01e119d5187009 /indra/mac_updater | |
parent | a4913246770b58ed569021c484c213231aaae549 (diff) | |
parent | 90547ff411db177bf6424ca553449a81a808fc0f (diff) |
merge up to 3.3.3-release
Diffstat (limited to 'indra/mac_updater')
-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; |