[svn-commits] russell: branch russell/iax_refcount r80252 - /team/russell/iax_refcount/incl...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Aug 22 10:14:02 CDT 2007


Author: russell
Date: Wed Aug 22 10:14:01 2007
New Revision: 80252

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80252
Log:
use the right starting magic number.  Thanks to mmichelson for pointing this out.

Modified:
    team/russell/iax_refcount/include/asterisk/strings.h

Modified: team/russell/iax_refcount/include/asterisk/strings.h
URL: http://svn.digium.com/view/asterisk/team/russell/iax_refcount/include/asterisk/strings.h?view=diff&rev=80252&r1=80251&r2=80252
==============================================================================
--- team/russell/iax_refcount/include/asterisk/strings.h (original)
+++ team/russell/iax_refcount/include/asterisk/strings.h Wed Aug 22 10:14:01 2007
@@ -274,7 +274,7 @@
  */
 static force_inline int ast_str_hash(const char *str)
 {
-	int hash = 0;
+	int hash = 5381;
 
 	while (*str)
 		hash = hash * 33 ^ *str++;




More information about the svn-commits mailing list