From 037d2daa13a19b515f63c735571250e3e40807b2 Mon Sep 17 00:00:00 2001 From: Chick3nman Date: Mon, 14 Feb 2022 17:08:12 -0600 Subject: [PATCH] Change read-only, spacing fixes --- src/main.c | 2 +- src/terminal.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 17fac0928..4e976b2d2 100644 --- a/src/main.c +++ b/src/main.c @@ -402,7 +402,7 @@ static void main_potfile_hash_left (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAY static void main_potfile_num_cracked (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, MAYBE_UNUSED const void *buf, MAYBE_UNUSED const size_t len) { const user_options_t *user_options = hashcat_ctx->user_options; - const hashes_t *hashes = hashcat_ctx->hashes; + hashes_t *hashes = hashcat_ctx->hashes; if (user_options->quiet == true) return; diff --git a/src/terminal.c b/src/terminal.c index c239fb60a..d0dc39f21 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -2094,7 +2094,7 @@ void status_display (hashcat_ctx_t *hashcat_ctx) { if (hashcat_status->salts_cnt > 1) { - const int digests_net_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; + const int digests_net_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; if (digests_net_new > 1) { @@ -2122,7 +2122,7 @@ void status_display (hashcat_ctx_t *hashcat_ctx) } else { - const int digests_net_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; + const int digests_net_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; if (digests_net_new > 1) {