Use the new case insensitive hash function for console interfaces. The comparison

function is case insensitive.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Russell Bryant 17 years ago
parent 03b1a5a384
commit ab2b24d6ee

@ -1426,7 +1426,7 @@ static int pvt_hash_cb(const void *obj, const int flags)
{ {
const struct console_pvt *pvt = obj; const struct console_pvt *pvt = obj;
return ast_str_hash(pvt->name); return ast_str_case_hash(pvt->name);
} }
static int pvt_cmp_cb(void *obj, void *arg, void *data, int flags) static int pvt_cmp_cb(void *obj, void *arg, void *data, int flags)

Loading…
Cancel
Save