소스 검색

modules_k/dialog: Move comment regarding dialog-destroying
unreference operation to proper new location.
(cherry picked from commit 191cc1d6437a252516d76c6249aa701a5b39b4e4)

Timo Reimann 15 년 전
부모
커밋
40c00244f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules_k/dialog/dlg_handlers.c

+ 1 - 1
modules_k/dialog/dlg_handlers.c

@@ -773,6 +773,7 @@ static void unref_dlg_from_cb(struct cell* t, int type, struct tmcb_params *para
 {
     struct dlg_cell *dlg = (struct dlg_cell *)(*param->param);
 
+	/* destroy dialog */
     unref_dlg(dlg, 1);
 }
 
@@ -941,7 +942,6 @@ void dlg_onroute(struct sip_msg* req, str *route_params, void *param)
 		if (dlg_db_mode)
 			remove_dialog_from_db(dlg);
 
-		/* destroy dialog */
 		unref_dlg(dlg, unref);
 
 		if_update_stat( dlg_enable_stats, active_dlgs, -1);