mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-26 07:55:44 -04:00
Fix ctime(&rstime_t) error on windows
rstime_t not neccesary in those cases so use plain time_t instead
This commit is contained in:
parent
77d938bf52
commit
ddf3164545
3 changed files with 3 additions and 3 deletions
|
@ -1101,7 +1101,7 @@ int p3BitDht::tick()
|
|||
minuteTick();
|
||||
|
||||
#ifdef DEBUG_PEERNET_COMMON
|
||||
rstime_t now = time(NULL);
|
||||
time_t now = time(NULL); // Don't use rstime_t here or ctime break on windows
|
||||
std::cerr << "p3BitDht::tick() TIME: " << ctime(&now) << std::endl;
|
||||
std::cerr.flush();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue