projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'development'
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
cmd_neonserv_clvl.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_clvl.c
b/src/modules/NeonServ.mod/cmd_neonserv_clvl.c
index 6b97e8feadd20d48e77d4d715f8f9d10715ff804..159d54048912152167a694178f50f0bbf743f00f 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_clvl.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_clvl.c
@@
-1,4
+1,4
@@
-/* cmd_neonserv_clvl.c - NeonServ v5.
4
+/* cmd_neonserv_clvl.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
@@
-67,7
+67,7
@@
CMD_BIND(neonserv_cmd_clvl) {
} else {
struct neonserv_cmd_clvl_cache *cache = malloc(sizeof(*cache));
if (!cache) {
} else {
struct neonserv_cmd_clvl_cache *cache = malloc(sizeof(*cache));
if (!cache) {
- p
error("malloc() failed"
);
+ p
rintf_log("neonserv", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__
);
return;
}
cache->client = client;
return;
}
cache->client = client;