From 0ac4fbc159745d0c42c85acad1cde72edeee298a Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 17 Jan 2007 17:22:14 +0000 Subject: [PATCH] Add mod_xml_curl to modules.conf.in and add parameter change submitted by Bret McDanel (thanks) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3980 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- modules.conf.in | 1 + src/mod/xml_int/mod_xml_curl/mod_xml_curl.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.conf.in b/modules.conf.in index 7b9a52f212..ca15c61e05 100644 --- a/modules.conf.in +++ b/modules.conf.in @@ -48,5 +48,6 @@ formats/mod_sndfile #languages/mod_spidermonkey_etpan timers/mod_softtimer #xml_int/mod_xml_rpc +#xml_int/mod_xml_curl say/mod_say_en diff --git a/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c b/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c index c11837dfd8..a990d78d5b 100644 --- a/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c +++ b/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c @@ -77,7 +77,7 @@ static switch_xml_t xml_url_fetch(char *section, tag_name ? tag_name : "", key_name ? key_name : "", key_value ? key_value : "", - params ? "&" : "", params ? params : ""))) { + params ? index(params,'=') ? "&" : "¶ms=" : "", params ? params : ""))) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n"); return NULL;