[Freeswitch-svn] [commit] r3980 - in freeswitch/trunk: . src/mod/xml_int/mod_xml_curl

Freeswitch SVN anthm at freeswitch.org
Wed Jan 17 12:22:14 EST 2007


Author: anthm
Date: Wed Jan 17 12:22:14 2007
New Revision: 3980

Modified:
   freeswitch/trunk/modules.conf.in
   freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c

Log:
Add mod_xml_curl to modules.conf.in and add parameter change submitted by Bret McDanel (thanks)

Modified: freeswitch/trunk/modules.conf.in
==============================================================================
--- freeswitch/trunk/modules.conf.in	(original)
+++ freeswitch/trunk/modules.conf.in	Wed Jan 17 12:22:14 2007
@@ -48,5 +48,6 @@
 #languages/mod_spidermonkey_etpan
 timers/mod_softtimer
 #xml_int/mod_xml_rpc
+#xml_int/mod_xml_curl
 say/mod_say_en
 

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c	Wed Jan 17 12:22:14 2007
@@ -77,7 +77,7 @@
                                 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;



More information about the Freeswitch-svn mailing list