who thought tolower should return int??
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4047 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
644131d0a2
commit
618d1ef698
|
@ -1502,7 +1502,7 @@ static switch_status_t do_flags(char **argv, int argc, switch_stream_handle_t *s
|
||||||
for (x = 1; x < argc; x++) {
|
for (x = 1; x < argc; x++) {
|
||||||
flag_str = argv[x];
|
flag_str = argv[x];
|
||||||
for(p = flag_str; *p; p++) {
|
for(p = flag_str; *p; p++) {
|
||||||
*p = tolower(*p);
|
*p = (char)tolower(*p);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strstr(flag_str, "ear")) {
|
if (strstr(flag_str, "ear")) {
|
||||||
|
|
Loading…
Reference in New Issue