fixed stupid (and very old!) mistake causing 100 seconds hang ups on windows when file rename fails.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.5@7076 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-02-01 11:59:43 +00:00
parent 6ac4086732
commit 11b60073ac

View File

@ -911,9 +911,9 @@ bool RsDirUtil::renameFile(const std::string& from, const std::string& to)
/* set errno? */
return false ;
#ifdef WIN32
Sleep(100000); /* us */
Sleep(200); /* 200 milliseconds */
#else
usleep(100000); /* us */
usleep(100000); /* 100000 microseconds */
#endif
if (loops >= 30)