mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-08 21:52:51 +00:00
switch debugfile.c to event_log_*
This commit is contained in:
parent
fa4de96ab0
commit
2a2df035e6
@ -6,7 +6,7 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
#include "logging.h"
|
#include "event.h"
|
||||||
#include "debugfile.h"
|
#include "debugfile.h"
|
||||||
|
|
||||||
static void debugfile_format_plain (hashcat_ctx_t *hashcat_ctx, const u8 *plain_ptr, const u32 plain_len)
|
static void debugfile_format_plain (hashcat_ctx_t *hashcat_ctx, const u8 *plain_ptr, const u32 plain_len)
|
||||||
@ -107,7 +107,7 @@ int debugfile_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
|
|
||||||
if (debugfile_ctx->fp == NULL)
|
if (debugfile_ctx->fp == NULL)
|
||||||
{
|
{
|
||||||
log_error ("ERROR: Could not open debug-file for writing");
|
event_log_error (hashcat_ctx, "ERROR: Could not open debug-file for writing");
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user