mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +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:
@@ -199,6 +199,11 @@ static inline int switch_hash_equalkeys(void *k1, void *k2)
|
||||
return strcmp((char *) k1, (char *) k2) ? 0 : 1;
|
||||
}
|
||||
|
||||
static inline int switch_hash_equalkeys_ci(void *k1, void *k2)
|
||||
{
|
||||
return strcasecmp((char *) k1, (char *) k2) ? 0 : 1;
|
||||
}
|
||||
|
||||
static inline uint32_t switch_hash_default(void *ky)
|
||||
{
|
||||
unsigned char *str = (unsigned char *) ky;
|
||||
|
||||
Reference in New Issue
Block a user