//ok parse the criterias
struct neonserv_cmd_trace_criteria *criteria = malloc(sizeof(*criteria));
if (!criteria) {
- perror("malloc() failed");
+ printf_log("neonserv", LOG_ERROR, "%s:%d malloc() failed", __FILE__, __LINE__);
return;
}
memset(criteria, 0, sizeof(*criteria));