Module: kamailio
Branch: master
Commit: 220750f79737b13b6aad0c38d6dd8ea3e28d5ca5
URL:
https://github.com/kamailio/kamailio/commit/220750f79737b13b6aad0c38d6dd8ea…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-15T09:23:26+02:00
dialplan: removed unnecessary define
---
Modified: src/modules/dialplan/dialplan.c
---
Diff:
https://github.com/kamailio/kamailio/commit/220750f79737b13b6aad0c38d6dd8ea…
Patch:
https://github.com/kamailio/kamailio/commit/220750f79737b13b6aad0c38d6dd8ea…
---
diff --git a/src/modules/dialplan/dialplan.c b/src/modules/dialplan/dialplan.c
index 55a247ae05..36c4355cbe 100644
--- a/src/modules/dialplan/dialplan.c
+++ b/src/modules/dialplan/dialplan.c
@@ -61,8 +61,6 @@
MODULE_VERSION
-#define DEFAULT_PARAM "$rU"
-
static int mod_init(void);
static int child_init(int rank);
static void mod_destroy();
@@ -85,7 +83,7 @@ int dp_replace_fixup_free(void** param, int param_no);
str attr_pvar_s = STR_NULL;
pv_spec_t *attr_pvar = NULL;
-str default_param_s = str_init(DEFAULT_PARAM);
+str default_param_s = str_init("$rU");
dp_param_p default_par2 = NULL;
int dp_fetch_rows = 1000;