ソースを参照

Merge branch 'master' of https://github.com/kamailio/kamailio

Sorry...

* 'master' of https://github.com/kamailio/kamailio:
  dialog: avoid useless re-entrant locking when linking the new dialog
Olle E. Johansson 10 年 前
コミット
5f5ac84b9f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      modules/dialog/dlg_handlers.c

+ 1 - 1
modules/dialog/dlg_handlers.c

@@ -847,7 +847,7 @@ int dlg_new_dialog(sip_msg_t *req, struct cell *t, const int run_initial_cbs)
 	dlg->vars = get_local_varlist_pointer(req, 1);
 
 	/* after dlg_search() slot was kept locked */
-	link_dlg(dlg, 0, 0);
+	link_dlg(dlg, 0, 1);
 	/* unlock after dlg_search() */
 	dlg_hash_release(&callid);