projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed language format string fail
[NeonServV5.git]
/
src
/
modules
/
NeonServ.mod
/
cmd_neonserv_op.c
diff --git
a/src/modules/NeonServ.mod/cmd_neonserv_op.c
b/src/modules/NeonServ.mod/cmd_neonserv_op.c
index 5b01c8f4bf1edaeec4d7644da8ba3ed93c7d0e78..d6679bcff4142b581d53cf69de5d5dd9ab985aa6 100644
(file)
--- a/
src/modules/NeonServ.mod/cmd_neonserv_op.c
+++ b/
src/modules/NeonServ.mod/cmd_neonserv_op.c
@@
-1,4
+1,4
@@
-/* cmd_neonserv_op.c - NeonServ v5.
5
+/* cmd_neonserv_op.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
@@
-33,7
+33,7
@@
struct neonserv_cmd_op_cache {
CMD_BIND(neonserv_cmd_op) {
struct neonserv_cmd_op_cache *cache = malloc(sizeof(*cache));
if (!cache) {
CMD_BIND(neonserv_cmd_op) {
struct neonserv_cmd_op_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;