switch is_gzip from short to bool

This commit is contained in:
Gabriele Gristina
2019-06-27 23:51:54 +02:00
parent 481c752456
commit c2e634c426
15 changed files with 37 additions and 46 deletions

View File

@@ -123,8 +123,7 @@ int debugfile_init (hashcat_ctx_t *hashcat_ctx)
return -1;
}
// force gzip to false
fp.is_gzip = 0;
fp.is_gzip = false;
// if (lock_file (fp) == -1)
if (lock_file (fp.f.fp) == -1)
@@ -143,7 +142,7 @@ int debugfile_init (hashcat_ctx_t *hashcat_ctx)
else
{
HCFILE fp_tmp;
fp_tmp.is_gzip = 0;
fp_tmp.is_gzip = false;
fp_tmp.f.fp = stdout;
// debugfile_ctx->fp = stdout;