[sr-dev] git:4.2:0adb7dbf: tsilo: Call LM_DBG with correct transaction information

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


Module: kamailio
Branch: 4.2
Commit: 0adb7dbff65131d75e5195569af876ce713c9838
URL: https://github.com/kamailio/kamailio/commit/0adb7dbff65131d75e5195569af876ce713c9838

Author: Chris Double <chris.double at double.co.nz>
Committer: grumvalski <federico.cabiddu at gmail.com>
Date: 2015-09-23T16:13:23+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/0adb7dbff65131d75e5195569af876ce713c9838.diff
Patch: https://github.com/kamailio/kamailio/commit/0adb7dbff65131d75e5195569af876ce713c9838.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