cvs: php-master-web /scripts mirror-test
| From: | Gabor Hojtsy | Date: | Mon, 01 Sep 2003 09:20:50 +0000 |
| Subject: | cvs: php-master-web /scripts mirror-test | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20720@lists.php.net to get a copy of this message | ||
goba Mon Sep 1 05:20:50 2003 EDT
Modified files:
/php-master-web/scripts mirror-test
Log:
Grammar fix, and better spacing for my daily mail with tabs
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.54 php-master-web/scripts/mirror-test:1.55
--- php-master-web/scripts/mirror-test:1.54 Sun Aug 31 07:37:54 2003
+++ php-master-web/scripts/mirror-test Mon Sep 1 05:20:50 2003
@@ -82,7 +82,7 @@
// If we were unable to pass the HTTP headers, skip mirror site
if ($line === FALSE || $line == "") {
- $hosts[$index]['problem'] = "unable get past HTTP response headers (probably
timeout)";
+ $hosts[$index]['problem'] = "unable to get past HTTP response headers
(probably timeout)";
continue;
}
@@ -163,7 +163,7 @@
$result = mysql_query($query) or die("unable to update the database: $query: " .
mysql_error());
if ($result) { $mirrorsupdated++; }
- else { $problems .= $host['hostname'] . " : cannot be updated in
database\n"; }
+ else { $problems .= $host['hostname'] . "\t: cannot be updated in
database\n"; }
}
// Store the problem encountered in the database, and collect
@@ -173,7 +173,7 @@
"lastupdated = FROM_UNIXTIME(" . $host['lastupdated'] .
") " .
"WHERE hostname = '" . $host['hostname'] .
"'";
$result = mysql_query($query) or die("unable to update the database: $query: " .
mysql_error());
- $problems .= $host['hostname'] . " : " . $host['problem'] .
"\n";
+ $problems .= $host['hostname'] . "\t: " . $host['problem'] .
"\n";
}
}