Bladeren bron

tm: set log level to debug for negative return code of run_top_route()

- it returns the code of last execution action, negative return is not
  necessary an error
Daniel-Constantin Mierla 13 jaren geleden
bovenliggende
commit
038780fdf4
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      modules/tm/t_fwd.c

+ 1 - 1
modules/tm/t_fwd.c

@@ -338,7 +338,7 @@ static int prepare_new_uac( struct cell *t, struct sip_msg *i_req,
 				if (run_top_route(branch_rt.rlist[branch_route], i_req, &ctx)
 				if (run_top_route(branch_rt.rlist[branch_route], i_req, &ctx)
 						< 0)
 						< 0)
 				{
 				{
-					LOG(L_ERR, "Error in run_top_route\n");
+					LOG(L_DBG, "negative return code in run_top_route\n");
 				}
 				}
 				/* update dst send_flags  and send socket*/
 				/* update dst send_flags  and send socket*/
 				snd_flags=i_req->fwd_send_flags;
 				snd_flags=i_req->fwd_send_flags;