[sr-dev] git:4.3:0be54999: tsilo: Call LM_DBG with correct transaction information

grumvalski federico.cabiddu at gmail.com
Wed Sep 23 16:13:02 CEST 2015


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

Author: Chris Double <chris.double at double.co.nz>
Committer: grumvalski <federico.cabiddu at gmail.com>
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);




More information about the sr-dev mailing list