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:
drbob 2013-09-24 16:20:29 +00:00
parent ae2df43b8a
commit 43832a1f58

View File

@ -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