mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed typo in windows code.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ae2df43b8a
commit
43832a1f58
@ -642,7 +642,7 @@ bool RsDirUtil::cleanupDirectoryFaster(const std::string& cleandir, const std::
|
||||
if (fit->first < *kit) // fit is not in keep list;
|
||||
{
|
||||
#ifdef WINDOWS_SYS
|
||||
_wremove(fit->second..c_str());
|
||||
_wremove(fit->second.c_str());
|
||||
#else
|
||||
remove(fit->second.c_str());
|
||||
#endif
|
||||
@ -663,7 +663,7 @@ bool RsDirUtil::cleanupDirectoryFaster(const std::string& cleandir, const std::
|
||||
while(fit != fileMap.end())
|
||||
{
|
||||
#ifdef WINDOWS_SYS
|
||||
_wremove(fit->second..c_str());
|
||||
_wremove(fit->second.c_str());
|
||||
#else
|
||||
remove(fit->second.c_str());
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user