diff --git a/include/types.h b/include/types.h index 73d1d2845..bff4d19ad 100644 --- a/include/types.h +++ b/include/types.h @@ -1060,12 +1060,6 @@ typedef struct double ms_paused; // timer on current dict - /** - * hash_info and username - */ - - hashinfo_t **hash_info; - } hc_global_data_t; #define RULES_MAX 256 diff --git a/src/hash_management.c b/src/hash_management.c index 6882d0717..ba398175e 100644 --- a/src/hash_management.c +++ b/src/hash_management.c @@ -164,7 +164,7 @@ void save_hash (const user_options_t *user_options, const hashconfig_t *hashconf { if (user_options->username == 1) { - user_t *user = data.hash_info[idx]->user; + user_t *user = hashes->hash_info[idx]->user; uint i;