[asterisk-commits] russell: trunk r157039 - /trunk/channels/chan_console.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 14 22:08:43 CST 2008


Author: russell
Date: Fri Nov 14 22:08:42 2008
New Revision: 157039

URL: http://svn.digium.com/view/asterisk?view=rev&rev=157039
Log:
Use the new case insensitive hash function for console interfaces.  The comparison
function is case insensitive.

Modified:
    trunk/channels/chan_console.c

Modified: trunk/channels/chan_console.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_console.c?view=diff&rev=157039&r1=157038&r2=157039
==============================================================================
--- trunk/channels/chan_console.c (original)
+++ trunk/channels/chan_console.c Fri Nov 14 22:08:42 2008
@@ -1426,7 +1426,7 @@
 {
 	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)




More information about the asterisk-commits mailing list