Browse Source

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 years ago
parent
commit
4455a13e8d
1 changed files with 1 additions and 1 deletions
  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,
                         struct dlg_cb_params* params)
 {
-    if( !dialog || !params || !params->req)
+    if( !dialog || !params)
     {
         LM_ERR("invalid values\n!");
         return;