From b4a4423695eab8087de4f3ed68e21145ac1fd5d5 Mon Sep 17 00:00:00 2001 From: jaybeepee Date: Fri, 12 Feb 2016 20:03:57 +0200 Subject: [PATCH] modules/ims_dialog: pass reason to terminate function --- modules/ims_dialog/dlg_req_within.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ims_dialog/dlg_req_within.c b/modules/ims_dialog/dlg_req_within.c index 902fbe69311..2de823ddd8a 100644 --- a/modules/ims_dialog/dlg_req_within.c +++ b/modules/ims_dialog/dlg_req_within.c @@ -507,7 +507,7 @@ int w_api_terminate_dlg(str *callid, str *ftag, str *ttag, str *hdrs, str* reaso unref_dlg(dlg, 1); - return dlg_terminate(dlg, NULL, NULL/*reason*/, 2, hdrs); + return dlg_terminate(dlg, NULL, reason, 2, hdrs); }