1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-22 13:40:56 +00:00

remove extra spaces in terminal.c

This commit is contained in:
philsmd 2022-02-27 10:24:08 +01:00 committed by GitHub
parent 87638caecd
commit 56bb1b9974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2097,9 +2097,9 @@ void status_display (hashcat_ctx_t *hashcat_ctx)
{ {
if (hashcat_status->salts_cnt > 1) if (hashcat_status->salts_cnt > 1)
{ {
const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot;
const double digests_new_perc = (double) digests_new / (double) hashcat_status->digests_cnt * 100; const double digests_new_perc = (double) digests_new / (double) hashcat_status->digests_cnt * 100;
if (digests_new > 1) if (digests_new > 1)
{ {
event_log_info (hashcat_ctx, event_log_info (hashcat_ctx,
@ -2126,13 +2126,13 @@ void status_display (hashcat_ctx_t *hashcat_ctx)
hashcat_status->salts_done, hashcat_status->salts_done,
hashcat_status->salts_cnt, hashcat_status->salts_cnt,
hashcat_status->salts_percent); hashcat_status->salts_percent);
} }
} }
else else
{ {
const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot; const int digests_new = hashcat_status->digests_done - hashcat_status->digests_done_pot;
const double digests_new_perc = (double) digests_new / (double) hashcat_status->digests_cnt * 100; const double digests_new_perc = (double) digests_new / (double) hashcat_status->digests_cnt * 100;
if (digests_new > 1) if (digests_new > 1)
{ {
event_log_info (hashcat_ctx, event_log_info (hashcat_ctx,