[Freeswitch-svn] [commit] r10583 - freeswitch/trunk/src/mod/xml_int/mod_xml_curl

FreeSWITCH SVN anthm at freeswitch.org
Wed Dec 3 12:12:55 PST 2008


Author: anthm
Date: Wed Dec  3 15:12:55 2008
New Revision: 10583

Log:
update

Modified:
   freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c

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 Dec  3 15:12:55 2008
@@ -155,7 +155,7 @@
 	switch_assert(data);
 
 	if (binding->use_dynamic_url) {
-		switch_event_add_header_string(params, SWITCH_STACK_TOP, "hostname", switch_str_nil(hostname));
+		switch_event_add_header_string(params, SWITCH_STACK_TOP, "hostname", hostname);
 		switch_event_add_header_string(params, SWITCH_STACK_TOP, "section", switch_str_nil(section));
 		switch_event_add_header_string(params, SWITCH_STACK_TOP, "tag_name", switch_str_nil(tag_name));
 		switch_event_add_header_string(params, SWITCH_STACK_TOP, "key_name", switch_str_nil(key_name));



More information about the Freeswitch-svn mailing list