Module: kamailio Branch: master Commit: 98a86787bb0c8dffb737f9f8408207780fb14f0d URL: https://github.com/kamailio/kamailio/commit/98a86787bb0c8dffb737f9f840820778...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2016-07-18T08:10:20+02:00
dialplan: remove unused var from cfg reload function
-reported by Juha Heinanen
---
Modified: modules/dialplan/dialplan.c
---
Diff: https://github.com/kamailio/kamailio/commit/98a86787bb0c8dffb737f9f840820778... Patch: https://github.com/kamailio/kamailio/commit/98a86787bb0c8dffb737f9f840820778...
---
diff --git a/modules/dialplan/dialplan.c b/modules/dialplan/dialplan.c index a0c679a..258dd53 100644 --- a/modules/dialplan/dialplan.c +++ b/modules/dialplan/dialplan.c @@ -455,10 +455,11 @@ static int dp_trans_fixup(void ** param, int param_no){ return E_INVALID_PARAMS; }
+/** + * trigger reload of dialplan db records from config file + */ static int dp_reload_f(struct sip_msg* msg) { - struct mi_root* rpl_tree= NULL; - if (dp_connect_db() < 0) { LM_ERR("failed to reload rules fron database (db connect)\n"); return -1;