Parcourir la source

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.
Chris Double il y a 10 ans
Parent
commit
03f6a49146
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      modules/tsilo/ts_handlers.c

+ 1 - 1
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);