[sr-dev] git:master: dialog_ng: changed LM_ERR to LM_DBG in dlg_hash.c

Richard Good richard.good at smilecoms.com
Mon Feb 18 08:55:23 CET 2013


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

Author: Richard Good <richard.good at smilecoms.com>
Committer: Richard Good <richard.good at smilecoms.com>
Date:   Mon Feb 18 09:48:22 2013 +0200

dialog_ng: changed LM_ERR to LM_DBG in dlg_hash.c

 - dlg_set_leg_info() line 416 was incorrectly logged as ERR when it should be only DBG

---

 modules/dialog_ng/dlg_hash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/dialog_ng/dlg_hash.c b/modules/dialog_ng/dlg_hash.c
index ad462fa..97e1371 100644
--- a/modules/dialog_ng/dlg_hash.c
+++ b/modules/dialog_ng/dlg_hash.c
@@ -413,7 +413,7 @@ int dlg_set_leg_info(struct dlg_cell *dlg, str* tag, str *rr, str *contact,
                 LM_DBG("Searching out dialog with to_tag '%.*s' (looking for %.*s\n", dlg_out->to_tag.len, dlg_out->to_tag.s, tag->len, tag->s);
 
                 if (dlg_out->to_tag.len == tag->len && memcmp(dlg_out->to_tag.s, tag->s, dlg_out->to_tag.len) == 0) {
-                    LM_ERR("Found dialog_out entry with correct to_tag - updating leg info\n");
+                    LM_DBG("Found dialog_out entry with correct to_tag - updating leg info\n");
 
                     if (contact->len > 0) {
                         dlg_out->callee_contact.s = (char*) shm_malloc(contact->len);




More information about the sr-dev mailing list