projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added new multi log system
[NeonServV5.git]
/
src
/
modules
/
global.mod
/
cmd_global_extscript.c
diff --git
a/src/modules/global.mod/cmd_global_extscript.c
b/src/modules/global.mod/cmd_global_extscript.c
index 2480267cf193445f8ddc17e355906b6683e1ec25..74cde9d2f646c415cc11e226b71b72f671ade84f 100644
(file)
--- a/
src/modules/global.mod/cmd_global_extscript.c
+++ b/
src/modules/global.mod/cmd_global_extscript.c
@@
-1,4
+1,4
@@
-/* cmd_global_extscript.c - NeonServ v5.
5
+/* cmd_global_extscript.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
@@
-126,7
+126,7
@@
CMD_BIND(global_cmd_extscript) {
struct global_cmd_extscript_cache *cache = malloc(sizeof(*cache));
if (!cache) {
struct global_cmd_extscript_cache *cache = malloc(sizeof(*cache));
if (!cache) {
- p
error("malloc() failed"
);
+ p
rintf_log("global", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__
);
return;
}
cache->client = client;
return;
}
cache->client = client;