mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 12:12:25 +01:00
- more logging to track down cold's issue
This commit is contained in:
parent
973c38be8d
commit
e8288e9c42
@ -645,7 +645,17 @@ pair<bool,time_t> hasCachedFileCRCValue(string crcCacheFile, int32 &value) {
|
||||
time_t refreshDate = 0;
|
||||
int32 crcValue = 0;
|
||||
time_t lastUpdateDate = 0;
|
||||
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s] Line: %d for Cache file [%s]\n",__FILE__,__FUNCTION__,__LINE__,crcCacheFile.c_str());
|
||||
}
|
||||
|
||||
int readbytes = fscanf(fp,"%20ld,%20d,%20ld",&refreshDate,&crcValue,&lastUpdateDate);
|
||||
|
||||
if(SystemFlags::getSystemSettingType(SystemFlags::debugSystem).enabled) {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s] Line: %d for Cache file [%s] readbytes = %d\n",__FILE__,__FUNCTION__,__LINE__,crcCacheFile.c_str(),readbytes);
|
||||
}
|
||||
|
||||
fclose(fp);
|
||||
|
||||
result.second = lastUpdateDate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user