[sr-dev] git:master: select.c: logging: convert LOG to LM_*
Ovidiu Sas
osas at voipembedded.com
Sat Oct 4 03:25:43 CEST 2014
Module: sip-router
Branch: master
Commit: cdc727b2871a4392ca769b35a9004ff995016e72
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cdc727b2871a4392ca769b35a9004ff995016e72
Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: Fri Oct 3 21:25:37 2014 -0400
select.c: logging: convert LOG to LM_*
---
select.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/select.c b/select.c
index 455baa6..3b605d5 100644
--- a/select.c
+++ b/select.c
@@ -313,10 +313,10 @@ int resolve_select(select_t* s)
}
switch (s->params[param_idx].type) {
case SEL_PARAM_STR:
- LOG(L_ERR, "Unable to resolve select '%.*s' at level %d\n", s->params[param_idx].v.s.len, s->params[param_idx].v.s.s, param_idx);
+ LM_ERR("Unable to resolve select '%.*s' at level %d\n", s->params[param_idx].v.s.len, s->params[param_idx].v.s.s, param_idx);
break;
case SEL_PARAM_INT:
- LOG(L_ERR, "Unable to resolve select [%d] at level %d\n", s->params[param_idx].v.i, param_idx);
+ LM_ERR("Unable to resolve select [%d] at level %d\n", s->params[param_idx].v.i, param_idx);
break;
default:
BUG ("Unable to resolve select at level %d\n", param_idx);
More information about the sr-dev
mailing list