Explorar o código

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 %!s(int64=13) %!d(string=hai) anos
pai
achega
038780fdf4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)
 						< 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*/
 				snd_flags=i_req->fwd_send_flags;