[sr-dev] git:master: select_buf.c: logging: convert LOG to LM_*

Ovidiu Sas osas at voipembedded.com
Sat Oct 4 03:26:33 CEST 2014


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

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Fri Oct  3 21:26:28 2014 -0400

select_buf.c: logging: convert LOG to LM_*

---

 select_buf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/select_buf.c b/select_buf.c
index aef1c78..87fc73b 100644
--- a/select_buf.c
+++ b/select_buf.c
@@ -115,7 +115,7 @@ char* get_static_buffer(int req_size) {
 
 #ifdef EXTRA_DEBUG
 	if ((active_buffer < 0) || (active_buffer > MAX_BUFFERS-1)) {
-		LOG(L_CRIT, "BUG: buffers have not been initialized yet. "
+		LM_CRIT("buffers have not been initialized yet. "
 			"Call reset_static_buffer() before executing "
 			"a route block.\n");
 		abort();




More information about the sr-dev mailing list