Module: kamailio
Branch: 4.3
Commit: 0be54999fe5025cf42fa9d5506e588542c7ec2ed
URL: 
https://github.com/kamailio/kamailio/commit/0be54999fe5025cf42fa9d5506e588542c7ec2ed

Author: Chris Double <[email protected]>
Committer: grumvalski <[email protected]>
Date: 2015-09-23T16:12:10+02:00

tsilo: Call LM_DBG with correct transaction information

- Use cb_ptr in ts_onreply LM_DBG call as the ptr variable
  is NULL at that call point and cb_ptr contains the
  transaction information being looked for.

(cherry picked from commit 03f6a49146980338d7e31aec60da551f8b6e7595)

---

Modified: modules/tsilo/ts_handlers.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/0be54999fe5025cf42fa9d5506e588542c7ec2ed.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0be54999fe5025cf42fa9d5506e588542c7ec2ed.patch

---

diff --git a/modules/tsilo/ts_handlers.c b/modules/tsilo/ts_handlers.c
index 7cf7970..6a1828a 100644
--- a/modules/tsilo/ts_handlers.c
+++ b/modules/tsilo/ts_handlers.c
@@ -89,7 +89,7 @@ void ts_onreply(struct cell* t, int type, struct tmcb_params 
*param)
                        }
                        ptr = ptr->next;
                }
-               LM_DBG("transaction %u:%u not found\n",ptr->tindex, 
ptr->tlabel);
+               LM_DBG("transaction %u:%u not found\n",cb_ptr->tindex, 
cb_ptr->tlabel);
                unlock_entry(_e);
        } else {
                LM_DBG("called with uknown type %d\n", type);


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to