X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonServ.mod%2Fcmd_neonserv_peek.c;h=fe600cd589b4c342ecae326ca7de7e20a4eb5dfc;hb=139ae91def764e66b5d2024723700101cc2a379e;hp=91f88fa5ecfded4bece152b3870a5ee0c152a73f;hpb=1471e99b8b975135cf4f66c0e497d4a5ded7ed77;p=NeonServV5.git diff --git a/src/modules/NeonServ.mod/cmd_neonserv_peek.c b/src/modules/NeonServ.mod/cmd_neonserv_peek.c index 91f88fa..fe600cd 100644 --- a/src/modules/NeonServ.mod/cmd_neonserv_peek.c +++ b/src/modules/NeonServ.mod/cmd_neonserv_peek.c @@ -31,7 +31,7 @@ struct neonserv_cmd_peek_cache { CMD_BIND(neonserv_cmd_peek) { struct neonserv_cmd_peek_cache *cache = malloc(sizeof(*cache)); if (!cache) { - perror("malloc() failed"); + printf_log("neonserv", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__); return; } cache->client = client;