1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Fix some code formatting

This commit is contained in:
Jens Steube 2019-08-06 11:26:56 +02:00
parent a8e86a8a7e
commit 1ecdffb580

View File

@ -1473,10 +1473,12 @@ void status_display (hashcat_ctx_t *hashcat_ctx)
if (hashcat_status->digests_cnt > 1000) if (hashcat_status->digests_cnt > 1000)
{ {
int digests_remain = hashcat_status->digests_cnt - hashcat_status->digests_done; const int digests_remain = hashcat_status->digests_cnt - hashcat_status->digests_done;
double digests_remain_percent = (double) digests_remain / (double) hashcat_status->digests_cnt * 100; const double digests_remain_percent = (double) digests_remain / (double) hashcat_status->digests_cnt * 100;
int salts_remain = hashcat_status->salts_cnt - hashcat_status->salts_done;
double salts_remain_percent = (double) salts_remain / (double) hashcat_status->salts_cnt * 100; const int salts_remain = hashcat_status->salts_cnt - hashcat_status->salts_done;
const double salts_remain_percent = (double) salts_remain / (double) hashcat_status->salts_cnt * 100;
if (hashcat_status->salts_cnt > 1) if (hashcat_status->salts_cnt > 1)
{ {
event_log_info (hashcat_ctx, event_log_info (hashcat_ctx,