This commit is contained in:
Helly Guo 2016-04-08 03:38:47 +00:00
commit e82ad22206

View File

@ -409,12 +409,12 @@ static int h_counter(int argc, unsigned char **argv){
#ifdef _TIME64_T_DEFINED
#ifndef _MAX__TIME64_T
#define _MAX__TIME64_T 0x793406fffi64
#endif
#endif
if(ch1.updated >= _MAX__TIME64_T){
fprintf(stderr, "Invalid or corrupted counter file %s. Use countersutil utility to convert from older version\n", argv[1]);
return 3;
}
#endif
#endif
cheader.updated = ch1.updated;
}