Skip to content

Commit

Permalink
siptrace: updated the log messages
Browse files Browse the repository at this point in the history
- debug level and function name are added automatically by LM_*() macros
  • Loading branch information
miconda committed Jan 6, 2016
1 parent 284c11e commit 40c8a62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/siptrace/siptrace.c
Expand Up @@ -1667,7 +1667,7 @@ static int trace_send_hep_duplicate(str *body, str *from, str *to, struct dest_i

/* check if from and to are in the same family*/
if(from_su.s.sa_family != to_su.s.sa_family) {
LOG(L_ERR, "ERROR: trace_send_hep_duplicate: interworking detected ?\n");
LM_ERR("interworking detected ?\n");
goto error;
}

Expand Down Expand Up @@ -1744,7 +1744,7 @@ static int trace_send_hep_duplicate(str *body, str *from, str *to, struct dest_i
len = sizeof(struct hep_ip6hdr);
}
else {
LOG(L_ERR, "ERROR: trace_send_hep_duplicate: Unsupported protocol family\n");
LM_ERR("Unsupported protocol family\n");
goto error;;
}

Expand All @@ -1755,7 +1755,7 @@ static int trace_send_hep_duplicate(str *body, str *from, str *to, struct dest_i
len += sizeof(struct hep_hdr) + body->len;
buffer = (void *)pkg_malloc(len+1);
if (buffer==0){
LOG(L_ERR, "ERROR: trace_send_hep_duplicate: out of memory\n");
LM_ERR("out of memory\n");
goto error;
}

Expand Down

0 comments on commit 40c8a62

Please sign in to comment.