summaryrefslogtreecommitdiff
path: root/pbx/pbx_dundi.c
diff options
context:
space:
mode:
Diffstat (limited to 'pbx/pbx_dundi.c')
-rw-r--r--pbx/pbx_dundi.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index bd999e42a..7ec144de5 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -99,8 +99,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
in the DUNDi lookup. If no results were found, the result will be blank.</para>
</description>
</function>
-
-
+
+
<function name="DUNDIQUERY" language="en_US">
<synopsis>
Initiate a DUNDi query.
@@ -562,7 +562,7 @@ static int get_mapping_weight(struct dundi_mapping *map, struct varshead *headp)
if (map->weightstr) {
if (headp) {
pbx_substitute_variables_varshead(headp, map->weightstr, buf, sizeof(buf) - 1);
- } else {
+ } else {
pbx_substitute_variables_helper(NULL, map->weightstr, buf, sizeof(buf) - 1);
}
@@ -5067,4 +5067,3 @@ AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Distributed Universal Nu
.reload = reload,
.nonoptreq = "res_crypto",
);
-