From 865e56e8d1749480ea3ebcfe8a61291c2ee4645a Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 21 Sep 2016 21:16:45 +0200 Subject: [PATCH] Get rid of loopback variable in main --- src/hashcat.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/hashcat.c b/src/hashcat.c index 2aba3b481..83e4e48e0 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -400,7 +400,6 @@ int main (int argc, char **argv) // temporarily start - uint loopback = LOOPBACK; uint weak_hash_threshold = WEAK_HASH_THRESHOLD; char *session = NULL; uint rp_gen = RP_GEN; @@ -415,7 +414,6 @@ int main (int argc, char **argv) if (1) { - loopback = user_options->loopback; powertune_enable = user_options->powertune_enable; rp_gen_func_max = user_options->rp_gen_func_max; rp_gen_func_min = user_options->rp_gen_func_min; @@ -433,7 +431,6 @@ int main (int argc, char **argv) data.status = user_options->status; data.status_timer = user_options->status_timer; data.machine_readable = user_options->machine_readable; - data.loopback = user_options->loopback; data.runtime = user_options->runtime; data.remove = user_options->remove; data.remove_timer = user_options->remove_timer; @@ -3738,7 +3735,7 @@ int main (int argc, char **argv) * Update loopback file */ - if (loopback == 1) + if (user_options->loopback == true) { loopback_write_open (loopback_ctx, induction_directory); }