浏览代码

acc: no request is needed for setting end time on dialog termination

- callback function cdr_on_end() doesn't use it at all
- reported by Eduardo Lejarreta, FS#256

(cherry picked from commit 8fcdd23aaa49cb6c1ecb34c4c6b4a88078a860f7)
Daniel-Constantin Mierla 11 年之前
父节点
当前提交
4455a13e8d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/acc/acc_cdr.c

+ 1 - 1
modules/acc/acc_cdr.c

@@ -569,7 +569,7 @@ static void cdr_on_end( struct dlg_cell* dialog,
                         int type,
                         int type,
                         struct dlg_cb_params* params)
                         struct dlg_cb_params* params)
 {
 {
-    if( !dialog || !params || !params->req)
+    if( !dialog || !params)
     {
     {
         LM_ERR("invalid values\n!");
         LM_ERR("invalid values\n!");
         return;
         return;