Module: kamailio
Branch: master
Commit: 03f6a49146980338d7e31aec60da551f8b6e7595
URL:
https://github.com/kamailio/kamailio/commit/03f6a49146980338d7e31aec60da551…
Author: Chris Double <chris.double(a)double.co.nz>
Committer: Chris Double <chris.double(a)double.co.nz>
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/03f6a49146980338d7e31aec60da551…
Patch:
https://github.com/kamailio/kamailio/commit/03f6a49146980338d7e31aec60da551…
---
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);