mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-6342 --resolve regression from 804ef7709d
Missed part of properly implementing the case-insensitive mode on the hash causing the dp lookup xml not to match XML
This commit is contained in:
@@ -38,7 +38,11 @@
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_hash_init_case(switch_hash_t **hash, switch_bool_t case_sensitive)
|
||||
{
|
||||
return switch_create_hashtable(hash, 16, case_sensitive ? switch_hash_default : switch_hash_default_ci, switch_hash_equalkeys);
|
||||
if (case_sensitive) {
|
||||
return switch_create_hashtable(hash, 16, switch_hash_default, switch_hash_equalkeys);
|
||||
} else {
|
||||
return switch_create_hashtable(hash, 16, switch_hash_default_ci, switch_hash_equalkeys_ci);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user