Browse Source

dialog: fixed missing return

Daniel-Constantin Mierla 13 years ago
parent
commit
f2dc7014cf
1 changed files with 1 additions and 0 deletions
  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();