Fix datatype access to user_options->username in hlfmt.c

pull/3907/head
jsteube 7 months ago
parent b66527f0d2
commit cdad6cca7b

@ -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 user_options_t *user_options = hashcat_ctx->user_options;
const hashconfig_t *hashconfig = hashcat_ctx->hashconfig; const hashconfig_t *hashconfig = hashcat_ctx->hashconfig;
if (user_options->username == 0) if (user_options->username == false)
{ {
*hashbuf_pos = line_buf; *hashbuf_pos = line_buf;
*hashbuf_len = line_len; *hashbuf_len = line_len;

Loading…
Cancel
Save