1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-10 15:51:10 +00:00

Linux ifdefs atime to atim. No need for this

This commit is contained in:
Rosen Penev 2017-03-04 18:27:33 -08:00
parent f471233544
commit a7d9e242ac
No known key found for this signature in database
GPG Key ID: 8B5A63249D3D4CE7

View File

@ -16,11 +16,7 @@ int sort_by_dictstat (const void *s1, const void *s2)
dictstat_t *d1 = (dictstat_t *) s1;
dictstat_t *d2 = (dictstat_t *) s2;
#if defined (__linux__) || defined (__CYGWIN__)
d2->stat.st_atim = d1->stat.st_atim;
#else
d2->stat.st_atime = d1->stat.st_atime;
#endif
return memcmp (&d1->stat, &d2->stat, sizeof (struct stat));
}