Some cleanup

This commit is contained in:
jsteube
2019-01-12 15:05:33 +01:00
parent b94f7ca411
commit bc22bfee2e
24 changed files with 536 additions and 594 deletions

View File

@@ -251,10 +251,7 @@ static int sort_by_usage (const void *p1, const void *p2)
if (u1->hash_category > u2->hash_category) return 1;
if (u1->hash_category < u2->hash_category) return -1;
if (u1->hash_mode > u2->hash_mode) return 1;
if (u1->hash_mode < u2->hash_mode) return -1;
return 0;
return strcmp (u1->hash_name, u2->hash_name);
}
void usage_mini_print (const char *progname)
@@ -273,7 +270,6 @@ void usage_big_print (hashcat_ctx_t *hashcat_ctx)
hashconfig_t *hashconfig = hashcat_ctx->hashconfig;
user_options_t *user_options = hashcat_ctx->user_options;
char *modulefile = (char *) hcmalloc (HCBUFSIZ_TINY);
usage_sort_t *usage_sort_buf = (usage_sort_t *) hccalloc (MODULE_HASH_MODES_MAXIMUM, sizeof (usage_sort_t));