From cdad6cca7bc0dbf7f69205174e36977de8b262c8 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 2 Nov 2023 16:48:54 +0000 Subject: [PATCH] Fix datatype access to user_options->username in hlfmt.c --- src/hlfmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hlfmt.c b/src/hlfmt.c index be71742e2..b2b56c1dc 100644 --- a/src/hlfmt.c +++ b/src/hlfmt.c @@ -28,7 +28,7 @@ static void hlfmt_hash_hashcat (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx, char *l const user_options_t *user_options = hashcat_ctx->user_options; const hashconfig_t *hashconfig = hashcat_ctx->hashconfig; - if (user_options->username == 0) + if (user_options->username == false) { *hashbuf_pos = line_buf; *hashbuf_len = line_len;