Explorar o código

dialog: fixed missing return

Daniel-Constantin Mierla %!s(int64=13) %!d(string=hai) anos
pai
achega
f2dc7014cf
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      modules_k/dialog/dlg_handlers.c

+ 1 - 0
modules_k/dialog/dlg_handlers.c

@@ -1384,6 +1384,7 @@ void dlg_run_event_route(dlg_cell_t *dlg, sip_msg_t *msg, int ostate, int nstate
 	}
 
 	if(rt==-1 || event_rt.rlist[rt]==NULL)
+		return;
 
 	if(msg==NULL)
 		fmsg = faked_msg_next();