1
mirror of https://github.com/hashcat/hashcat synced 2024-11-13 17:28:58 +01:00

Fix some variable name convention

This commit is contained in:
jsteube 2016-10-03 00:01:37 +02:00
parent 2764333160
commit 50d2cec912
3 changed files with 4 additions and 8 deletions

View File

@ -934,7 +934,7 @@ typedef struct restore_data
char cwd[256];
u32 pid;
u32 dictpos;
u32 dicts_pos;
u32 masks_pos;
u64 words_cur;

View File

@ -1233,9 +1233,9 @@ static int inner1_loop (hashcat_ctx_t *hashcat_ctx)
if (straight_ctx->dicts_cnt)
{
for (u32 dicts_pos = rd->dictpos; dicts_pos < straight_ctx->dicts_cnt; dicts_pos++)
for (u32 dicts_pos = rd->dicts_pos; dicts_pos < straight_ctx->dicts_cnt; dicts_pos++)
{
rd->dictpos = dicts_pos;
rd->dicts_pos = dicts_pos;
straight_ctx->dicts_pos = dicts_pos;
@ -1625,7 +1625,7 @@ static int outer_loop (hashcat_ctx_t *hashcat_ctx)
{
if (masks_pos > rd->masks_pos)
{
rd->dictpos = 0;
rd->dicts_pos = 0;
}
rd->masks_pos = masks_pos;

View File

@ -393,10 +393,6 @@ int restore_ctx_init (restore_ctx_t *restore_ctx, user_options_t *user_options,
const int rc_options_getopt = user_options_getopt (user_options, rd->argc, rd->argv);
if (rc_options_getopt == -1) return -1;
const int rc_options_sanity = user_options_sanity (user_options);
if (rc_options_sanity == -1) return -1;
}
return 0;