cvs: pear /Net_DNS/DNS Resolver.php

From: Date: Mon, 06 Mar 2006 16:07:44 +0000
Subject: cvs: pear /Net_DNS/DNS Resolver.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38950@lists.php.net to get a copy of this message
bate Mon Mar 6 16:07:44 2006 UTC Modified files: /pear/Net_DNS/DNS Resolver.php Log: fixed bug #7034 "error in send_udp_no_sock_lib" http://cvs.php.net/viewcvs.cgi/pear/Net_DNS/DNS/Resolver.php?r1=1.30&r2=1.31&diff_format=u Index: pear/Net_DNS/DNS/Resolver.php diff -u pear/Net_DNS/DNS/Resolver.php:1.30 pear/Net_DNS/DNS/Resolver.php:1.31 --- pear/Net_DNS/DNS/Resolver.php:1.30 Wed Mar 1 10:49:22 2006 +++ pear/Net_DNS/DNS/Resolver.php Mon Mar 6 16:07:44 2006 @@ -860,7 +860,7 @@ } for ($i = 0; $i < $this->retry; $i++, $retrans *= 2, - $timeout = (int) ($retrans / (count($ns)+1))) { + $timeout = (int) ($retrans / $ctr)) { if ($timeout < 1) { $timeout = 1; }

« previous php.pear.cvs (#38950) next »