Module: kamailio Branch: master Commit: 03f6a49146980338d7e31aec60da551f8b6e7595 URL: https://github.com/kamailio/kamailio/commit/03f6a49146980338d7e31aec60da551f8b6e7595
Author: Chris Double <[email protected]> Committer: Chris Double <[email protected]> Date: 2015-09-23T23:39:15+12: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. --- Modified: modules/tsilo/ts_handlers.c --- Diff: https://github.com/kamailio/kamailio/commit/03f6a49146980338d7e31aec60da551f8b6e7595.diff Patch: https://github.com/kamailio/kamailio/commit/03f6a49146980338d7e31aec60da551f8b6e7595.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
