false is 0 and true 1

This commit is contained in:
e2002e 2019-10-15 20:22:46 +02:00 committed by GitHub
commit 9d7ebfd3c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2173,7 +2173,7 @@ int main(int argc, char *argv[]) {
hydra_brains.ofp = stdout; hydra_brains.ofp = stdout;
hydra_brains.targets = 1; hydra_brains.targets = 1;
hydra_options.waittime = waittime = WAITTIME; hydra_options.waittime = waittime = WAITTIME;
hydra_options.rainy = false; hydra_options.rainy = 0;
bf_options.disable_symbols = 0; bf_options.disable_symbols = 0;
// command line processing // command line processing
@ -2206,7 +2206,7 @@ int main(int argc, char *argv[]) {
hydra_restore_read(); hydra_restore_read();
break; break;
case 'r': case 'r':
hydra_options.rainy = true; hydra_options.rainy = 1;
break; break;
case 'I': case 'I':
ignore_restore = 1; // this is not to be saved in hydra_options! ignore_restore = 1; // this is not to be saved in hydra_options!