From 3589f90533e97e440a1eb5c7eddbe33df860033e Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sat, 15 Nov 2008 04:09:13 +0000 Subject: [PATCH] Merged revisions 157039 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r157039 | russell | 2008-11-14 22:08:42 -0600 (Fri, 14 Nov 2008) | 3 lines 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/branches/1.6.1@157040 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_console.c b/channels/chan_console.c index 92777f5ea0..131a3d7dbd 100644 --- a/channels/chan_console.c +++ b/channels/chan_console.c @@ -1425,7 +1425,7 @@ static int pvt_hash_cb(const void *obj, const int flags) { 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, int flags)