Get rid of logging.c and most exit() calls replaced with return() for true library usage

This commit is contained in:
jsteube
2016-10-09 22:41:55 +02:00
parent 7ed79bf42e
commit 27bec8be13
57 changed files with 4087 additions and 4228 deletions

View File

@@ -6,7 +6,7 @@
#include "common.h"
#include "types.h"
#include "memory.h"
#include "logging.h"
#include "event.h"
#include "shared.h"
#include "loopback.h"
@@ -105,7 +105,7 @@ int loopback_write_open (hashcat_ctx_t *hashcat_ctx)
if (loopback_ctx->fp == NULL)
{
log_error ("ERROR: %s: %s", loopback_ctx->filename, strerror (errno));
event_log_error (hashcat_ctx, "ERROR: %s: %s", loopback_ctx->filename, strerror (errno));
return -1;
}