X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonServ.mod%2Fcmd_neonserv_unsuspend.c;h=7c883034be9ce030270496cec7ff7ba2a0a0c216;hb=caa3238cc43909d4d3a27ff95b77f9ab23f85baf;hp=8ad89649b603e484aff4caa9cb5697b9b0a9b97d;hpb=78e040af3fcc36ab684611c0f98b4381ff420878;p=NeonServV5.git diff --git a/src/modules/NeonServ.mod/cmd_neonserv_unsuspend.c b/src/modules/NeonServ.mod/cmd_neonserv_unsuspend.c index 8ad8964..7c88303 100644 --- a/src/modules/NeonServ.mod/cmd_neonserv_unsuspend.c +++ b/src/modules/NeonServ.mod/cmd_neonserv_unsuspend.c @@ -1,4 +1,4 @@ -/* cmd_neonserv_unsuspend.c - NeonServ v5.5 +/* cmd_neonserv_unsuspend.c - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -51,7 +51,7 @@ CMD_BIND(neonserv_cmd_unsuspend) { } else { struct neonserv_cmd_unsuspend_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;