Module: kamailio
Branch: master
Commit: 60a35d4ea83fc0a6d2a29aa56ff94afc57eff9af
URL: 
https://github.com/kamailio/kamailio/commit/60a35d4ea83fc0a6d2a29aa56ff94afc57eff9af

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2017-08-09T13:38:16+02:00

acc_radius: removed unused code left when split from acc module

---

Modified: src/modules/acc_radius/acc_radius_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/60a35d4ea83fc0a6d2a29aa56ff94afc57eff9af.diff
Patch: 
https://github.com/kamailio/kamailio/commit/60a35d4ea83fc0a6d2a29aa56ff94afc57eff9af.patch

---

diff --git a/src/modules/acc_radius/acc_radius_mod.c 
b/src/modules/acc_radius/acc_radius_mod.c
index 05adfb1b11..df5dbdf5f8 100644
--- a/src/modules/acc_radius/acc_radius_mod.c
+++ b/src/modules/acc_radius/acc_radius_mod.c
@@ -203,14 +203,6 @@ static int acc_api_fixup(void** param, int param_no)
                        accp->reason.len = strlen(accp->reason.s);
                }
                *param = (void*)accp;
-#ifdef SQL_ACC
-       } else if (param_no == 2) {
-               /* only for db acc - the table name */
-               if (db_url.s==0) {
-                       pkg_free(p);
-                       *param = 0;
-               }
-#endif
        }
        return 0;
 }


_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to