cvs: php-master-web /scripts mirror-test
| From: | Gabor Hojtsy | Date: | Tue, 07 Jan 2003 22:05:42 +0000 |
| Subject: | cvs: php-master-web /scripts mirror-test | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14831@lists.php.net to get a copy of this message | ||
goba Tue Jan 7 17:05:42 2003 EDT
Modified files:
/php-master-web/scripts mirror-test
Log:
Don't let faulty mirrors stop the mirror check process...
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.27 php-master-web/scripts/mirror-test:1.28
--- php-master-web/scripts/mirror-test:1.27 Tue Jan 7 15:28:42 2003
+++ php-master-web/scripts/mirror-test Tue Jan 7 17:05:42 2003
@@ -38,7 +38,7 @@
$hosts[$i] = $row;
// Open port 80 on the mirror site
- $fp = fsockopen($row['hostname'], 80, $errno, $errstr, 15);
+ $fp = @fsockopen($row['hostname'], 80, $errno, $errstr, 15);
// If we were unable to open the port, continue with the next mirror
if (!$fp) {