cvs: php-master-web /scripts mirror-test
| From: | Gabor Hojtsy | Date: | Tue, 09 Sep 2003 08:54:38 +0000 |
| Subject: | cvs: php-master-web /scripts mirror-test | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20914@lists.php.net to get a copy of this message | ||
goba Tue Sep 9 04:54:38 2003 EDT
Modified files:
/php-master-web/scripts mirror-test
Log:
Use a more logical separator
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.55 php-master-web/scripts/mirror-test:1.56
--- php-master-web/scripts/mirror-test:1.55 Mon Sep 1 05:20:50 2003
+++ php-master-web/scripts/mirror-test Tue Sep 9 04:54:38 2003
@@ -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'] . "\t: 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'] . "\t: " . $host['problem'] .
"\n";
+ $problems .= $host['hostname'] . "\t- " . $host['problem'] .
"\n";
}
}