]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add mod_xml_curl to modules.conf.in and add parameter change submitted by Bret McDane...
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 17 Jan 2007 17:22:14 +0000 (17:22 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 17 Jan 2007 17:22:14 +0000 (17:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3980 d0543943-73ff-0310-b7d9-9358b9ac24b2

modules.conf.in
src/mod/xml_int/mod_xml_curl/mod_xml_curl.c

index 7b9a52f212ba79e1187d26740aae01f5cf2456cf..ca15c61e05d7d01a117c4ca1a59b528e1c90833b 100644 (file)
@@ -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
 
index c11837dfd8e13e76ef4de87c83491e2eb43f4081..a990d78d5b30056668b556208891c4b22e19a767 100644 (file)
@@ -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,'=') ? "&" : "&params=" : "", params ? params : ""))) {
 
         switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n");
         return NULL;