1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* string.c (hash): fixed typo. [ruby-dev:37791]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-01-19 18:42:46 +00:00
parent 108377fc6b
commit d66c0cf368
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Jan 20 03:42:32 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* string.c (hash): fixed typo. [ruby-dev:37791]
Tue Jan 20 01:15:27 2009 Tanaka Akira <akr@fsij.org>
* ext/socket/mkconstants.rb (SOMAXCONN): defined.

View file

@ -1973,7 +1973,7 @@ hash(const unsigned char * data, int len, unsigned int h)
#else
t = (t >> sr) | (d << sl);
#endif
h = murmur(h, t);
h = murmur_step(h, t);
t = d;
data += sizeof(uint32_t);
len -= sizeof(uint32_t);