- 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.
@@ -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);