type tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2915 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-10-01 21:21:41 +00:00
parent 9d91ece984
commit 564e791d63
1 changed files with 2 additions and 2 deletions

View File

@ -586,11 +586,11 @@ SWITCH_DECLARE(switch_codec_interface_t *) switch_loadable_module_get_codec_inte
if (!(codec = switch_core_hash_find(loadable_modules.codec_hash, name))) {
for(x = 0; x < strlen(name); x++) {
altname[x] = (char)toupper(name[x]);
altname[x] = (char)toupper((int)name[x]);
}
if (!(codec = switch_core_hash_find(loadable_modules.codec_hash, altname))) {
for(x = 0; x < strlen(name); x++) {
altname[x] = (char)tolower(name[x]);
altname[x] = (char)tolower((int)name[x]);
}
codec = switch_core_hash_find(loadable_modules.codec_hash, altname);
}