cvs: pear /HTTP_Download Download.php
| From: | Michael Wallner | Date: | Tue, 17 May 2005 10:33:48 +0000 |
| Subject: | cvs: pear /HTTP_Download Download.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-31889@lists.php.net to get a copy of this message | ||
mike Tue May 17 06:33:48 2005 EDT
Modified files:
/pear/HTTP_Download Download.php
Log:
* fix usleep() call (parameter was milliseconds instead of microseconds)
http://cvs.php.net/diff.php/pear/HTTP_Download/Download.php?r1=1.64&r2=1.65&ty=u
Index: pear/HTTP_Download/Download.php
diff -u pear/HTTP_Download/Download.php:1.64 pear/HTTP_Download/Download.php:1.65
--- pear/HTTP_Download/Download.php:1.64 Wed Mar 30 13:03:39 2005
+++ pear/HTTP_Download/Download.php Tue May 17 06:33:48 2005
@@ -17,7 +17,7 @@
* @author Michael Wallner <mike@php.net>
* @copyright 2003-2005 Michael Wallner
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Download.php,v 1.64 2005/03/30 18:03:39 mike Exp $
+ * @version CVS: $Id: Download.php,v 1.65 2005/05/17 10:33:48 mike Exp $
* @link http://pear.php.net/package/HTTP_Download
*/
@@ -92,7 +92,7 @@
* if you want to send already gzipped data!
*
* @access public
- * @version $Revision: 1.64 $
+ * @version $Revision: 1.65 $
*/
class HTTP_Download
{
@@ -1008,7 +1008,7 @@
if (OS_WINDOWS) {
com_message_pump($this->throttleDelay);
} else {
- usleep($this->throttleDelay);
+ usleep($this->throttleDelay * 1000);
}
}
// }}}