mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-10 15:51:10 +00:00
Fix final comparison in sort_by_dictstat()
This commit is contained in:
parent
91e522d094
commit
c9f3ef6dae
@ -39,7 +39,9 @@ int sort_by_dictstat (const void *s1, const void *s2)
|
||||
stat2.STAT_NANOSECONDS_ACCESS_TIME = 0;
|
||||
#endif
|
||||
|
||||
return memcmp (&s1, &s2, sizeof (struct stat));
|
||||
const int rc_memcmp = memcmp (&stat1, &stat2, sizeof (struct stat));
|
||||
|
||||
return rc_memcmp;
|
||||
}
|
||||
|
||||
int dictstat_init (hashcat_ctx_t *hashcat_ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user