use strchr instead of index as recommended by the linux man pages for portability.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3994 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
23a744ad9d
commit
e5eba308ab
|
@ -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 ? 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;
|
||||
|
|
Loading…
Reference in New Issue