projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'IoMultiplexer.git/master' into development
[NeonServV5.git]
/
src
/
HandleInfoHandler.c
diff --git
a/src/HandleInfoHandler.c
b/src/HandleInfoHandler.c
index 3a657a60f5d32ebb1dc864c07d6b5da7b00de70a..8a8a46ce3a0ce205b422c01907c28f62c9e78835 100644
(file)
--- a/
src/HandleInfoHandler.c
+++ b/
src/HandleInfoHandler.c
@@
-1,4
+1,4
@@
-/* HandleInfoHandler.c - NeonServ v5.
5
+/* HandleInfoHandler.c - NeonServ v5.
6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-22,6
+22,7
@@
#include "IRCEvents.h"
#include "tools.h"
#include "modules.h"
#include "IRCEvents.h"
#include "tools.h"
#include "modules.h"
+#include "log.h"
#define AUTHSERV_NICK "AuthServ"
#define AUTHSERV_NICK "AuthServ"
@@
-40,7
+41,7
@@
static struct HandleInfoQueueEntry* addHandleInfoQueueEntry(struct ClientSocket
struct HandleInfoQueueEntry *entry = malloc(sizeof(*entry));
if (!entry)
{
struct HandleInfoQueueEntry *entry = malloc(sizeof(*entry));
if (!entry)
{
- p
error("malloc() failed"
);
+ p
rintf_log("main", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__
);
return NULL;
}
SYNCHRONIZE(cache_sync);
return NULL;
}
SYNCHRONIZE(cache_sync);