Browse Source

- paste error fixed ig TMCB_ONSEND is defined (default off)

Andrei Pelinescu-Onciul 18 years ago
parent
commit
ffd41e87fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/tm/t_reply.c

+ 1 - 1
modules/tm/t_reply.c

@@ -1100,7 +1100,7 @@ int t_retransmit_reply( struct cell *t )
 	UNLOCK_REPLIES( t );
 	UNLOCK_REPLIES( t );
 	SEND_PR_BUFFER( & t->uas.response, b, len );
 	SEND_PR_BUFFER( & t->uas.response, b, len );
 #ifdef TMCB_ONSEND
 #ifdef TMCB_ONSEND
-	if (unlikely(has_tran_tmcbs(r_buf->my_T, TMCB_RESPONSE_SENT))){ 
+	if (unlikely(has_tran_tmcbs(t, TMCB_RESPONSE_SENT))){ 
 		/* we don't know if it's a retransmission of a local reply or a 
 		/* we don't know if it's a retransmission of a local reply or a 
 		 * forwarded reply */
 		 * forwarded reply */
 		run_onsend_callbacks(TMCB_RESPONSE_SENT, &t->uas.response, 0, 0,
 		run_onsend_callbacks(TMCB_RESPONSE_SENT, &t->uas.response, 0, 0,