Module: sip-router Branch: master Commit: 94b74cf8bf80c1fc17eebef8b5b0767a05234de0 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=94b74cf8...
Author: Ovidiu Sas osas@voipembedded.com Committer: Ovidiu Sas osas@voipembedded.com Date: Fri Oct 3 14:55:49 2014 -0400
id.c: logging: convert LOG to LM_*
---
id.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/id.c b/id.c index 4bc49ca..7b9dbbb 100644 --- a/id.c +++ b/id.c @@ -100,17 +100,17 @@ int get_from_uid(str* uid, struct sip_msg* msg) } else { /* Get From URI username */ if (parse_from_header(msg) < 0) { - LOG(L_ERR, "get_from_uid: Error while parsing From header\n"); + LM_ERR("unable to parse From header\n"); return -1; } from = get_from(msg); if (parse_uri(from->uri.s, from->uri.len, &puri) == -1) { - LOG(L_ERR, "get_from_uid: Error while parsing From URI\n"); + LM_ERR("unable to parsie From URI\n"); return -1; } if (puri.user.len > MAX_URI_SIZE) { - LOG(L_ERR, "get_from_uid: Username too long\n"); + LM_ERR("username too long\n"); return -1; } memcpy(buf, puri.user.s, puri.user.len);