Module: kamailio
Branch: master
Commit: 60a35d4ea83fc0a6d2a29aa56ff94afc57eff9af
URL:
https://github.com/kamailio/kamailio/commit/60a35d4ea83fc0a6d2a29aa56ff94af…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/60a35d4ea83fc0a6d2a29aa56ff94af…
Patch:
https://github.com/kamailio/kamailio/commit/60a35d4ea83fc0a6d2a29aa56ff94af…
---
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;
}