#include "IRCEvents.h"
#include "tools.h"
#include "modules.h"
+#include "log.h"
#define AUTHSERV_NICK "AuthServ"
struct HandleInfoQueueEntry *entry = malloc(sizeof(*entry));
if (!entry)
{
- perror("malloc() failed");
+ printf_log("main", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__);
return NULL;
}
SYNCHRONIZE(cache_sync);