rem: for( i=t->first_branch ; i<t->nr_of_outgoings ; i++ ) if (t->uac[i].last_received!=0)
add: for( i=t->first_branch ; i<t->nr_of_outgoings ; i++ ) { if (t->uac[i].flags&T_UAC_HAS_RECV_REPLY)
context: inline static int t_local_replied(struct sip_msg* msg, char *all, char *bar){	struct cell *t;	int all_rpls;	int i;	if (t_check( msg , 0 )!=1) {		LOG(L_ERR, "ERROR:t_local_replied: no transaction was set up\n");		return -1;	}	t = get_t();	all_rpls = (int)(long)all;	/* is last reply local ? */	if (t->relaied_reply_branch!=-2)		return -1;	/* were all replies local or none  */	if (all_rpls) {		for( i=t->first_branch ; i<t->nr_of_outgoings ; i++ )			if (t->uac[i].last_received!=0)				return -1;	}	return 1;}