[sr-dev] git:master: topoh: use L_DBG instead of L_ERR for some debugging messages

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 21 09:48:55 CEST 2012


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Fri Sep 21 09:44:21 2012 +0200

topoh: use L_DBG instead of L_ERR for some debugging messages

- reported by Miguel Baptista

---

 modules/topoh/th_mask.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/topoh/th_mask.c b/modules/topoh/th_mask.c
index dc1aacb..be416ab 100644
--- a/modules/topoh/th_mask.c
+++ b/modules/topoh/th_mask.c
@@ -76,8 +76,8 @@ void th_mask_init(void)
 	_th_key.len = strlen(_th_key.s);
 	memcpy(_th_EB64, TH_EB64I, sizeof(TH_EB64I));
 	th_shuffle(_th_EB64, 64);
-	LM_ERR("+++ %s\n", TH_EB64I);
-	LM_ERR("+++ %s\n", _th_EB64);
+	LM_DBG("original table: %s\n", TH_EB64I);
+	LM_DBG("updated table: %s\n", _th_EB64);
 	for(i=0; i<256; i++)
 		_th_DB64[i] = -1;
 	for(i=0; i<64; i++)




More information about the sr-dev mailing list