mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
turned some uint32_t into int, for file watch period (did not produce a bug, but was still incorrect)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4115 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ccfee2d8e4
commit
26311a7ad6
@ -450,7 +450,7 @@ bool FileIndexMonitor::updateCache(const CacheData &data) /* we call this one *
|
||||
}
|
||||
|
||||
|
||||
uint32_t FileIndexMonitor::getPeriod() const
|
||||
int FileIndexMonitor::getPeriod() const
|
||||
{
|
||||
//#ifdef FIM_DEBUG
|
||||
std::cerr << "FileIndexMonitor::setPeriod() getting watch period" << std::endl;
|
||||
@ -459,7 +459,7 @@ uint32_t FileIndexMonitor::getPeriod() const
|
||||
return updatePeriod ;
|
||||
}
|
||||
|
||||
void FileIndexMonitor::setPeriod(uint32_t period)
|
||||
void FileIndexMonitor::setPeriod(int period)
|
||||
{
|
||||
RsStackMutex mtx(fiMutex) ; /* LOCKED DIRS */
|
||||
updatePeriod = period;
|
||||
|
@ -156,8 +156,8 @@ class FileIndexMonitor: public CacheSource, public RsThread
|
||||
bool rememberHashFiles() ;
|
||||
// Remove any memory of formerly hashed files that are not shared anymore
|
||||
void clearHashFiles() ;
|
||||
void setPeriod(uint32_t insecs);
|
||||
uint32_t getPeriod() const;
|
||||
void setPeriod(int insecs);
|
||||
int getPeriod() const;
|
||||
|
||||
bool autoCheckEnabled() const ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user