[sr-dev] git:master: timer_funcs.h: logging: convert LOG to LM_*

Ovidiu Sas osas at voipembedded.com
Fri Oct 3 20:46:42 CEST 2014


Module: sip-router
Branch: master
Commit: 2c9d2bf4d6505d6c71fae4d994216944a2f475e1
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2c9d2bf4d6505d6c71fae4d994216944a2f475e1

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Fri Oct  3 14:45:42 2014 -0400

timer_funcs.h: logging: convert LOG to LM_*

---

 timer_funcs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/timer_funcs.h b/timer_funcs.h
index bd514c1..0a065a2 100644
--- a/timer_funcs.h
+++ b/timer_funcs.h
@@ -116,7 +116,7 @@ static inline int _timer_dist_tl(struct timer_ln* tl, ticks_t delta)
 {
 	if (delta<H0_ENTRIES){
 		if (delta==0){
-			LOG(L_WARN, "WARNING: timer: add_timeout: 0 expire timer added\n");
+			LM_WARN("0 expire timer added\n");
 			_timer_add_list(&timer_lst->expired, tl);
 		}else{
 			_timer_add_list( &timer_lst->h0[tl->expire & H0_MASK], tl);




More information about the sr-dev mailing list