Преглед изворни кода

tmx: removed non-exitent BRANCH_FAILURE_ROUTE following the previous cherry-pick

Daniel-Constantin Mierla пре 11 година
родитељ
комит
ad8652885f
2 измењених фајлова са 2 додато и 3 уклоњено
  1. 1 1
      modules/tm/t_reply.c
  2. 1 2
      modules/tmx/t_var.c

+ 1 - 1
modules/tm/t_reply.c

@@ -2410,7 +2410,7 @@ int reply_received( struct sip_msg  *p_msg )
 		restart_rb_fr(& uac->request, t->fr_inv_timeout);
 		uac->request.flags|=F_RB_FR_INV; /* mark fr_inv */
 	} /* provisional replies */
-        
+
 done:
 	tm_ctx_set_branch_index(T_BR_UNDEFINED);
 	/* we are done with the transaction, so unref it - the reference

+ 1 - 2
modules/tmx/t_var.c

@@ -384,8 +384,7 @@ int pv_get_tm_branch_idx(struct sip_msg *msg, pv_param_t *param,
 			idx = tcx->branch_index;
 	} else switch(route_type) {
 		case BRANCH_ROUTE:
-		case BRANCH_FAILURE_ROUTE:
-			/* branch and branch_failure routes have their index set */
+			/* branch routes have their index set */
 			tcx = _tmx_tmb.tm_ctx_get();
 			if(tcx != NULL)
 				idx = tcx->branch_index;