if (is_resource($sock)) {
$this->_flush_read_buffer($sock);
return $sock;
- }
- $hv += $this->_hashfunc($tries . $realkey);
- $hv = $hv & 0x7fffffff; // don't let this pass the limit and go negative (bug 12342)
+ }
+ $hv = $this->_hashfunc( $hv . $realkey );
}
return false;