[commit] r3994 - freeswitch/trunk/src/mod/xml_int/mod_xml_curl
Author: mikej Date: Thu Jan 18 22:08:08 2007 New Revision: 3994 Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c Log: use strchr instead of index as recommended by the linux man pages for portability. 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 Thu Jan 18 22:08:08 2007 @@ -77,7 +77,7 @@ tag_name ? tag_name : "", key_name ? key_name : "", key_value ? key_value : "", - params ? index(params,'=') ? "&" : "¶ms=" : "", params ? params : ""))) { + params ? strchr(params,'=') ? "&" : "¶ms=" : "", params ? params : ""))) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n"); return NULL;
participants (1)
-
Freeswitch SVN