Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pool.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/pool.php b/pool.php
index 19c0b87..05cece3 100644
--- a/pool.php
+++ b/pool.php
@@ -15,6 +15,7 @@ else
$result = mysql_run_query(
'SELECT `mirror_statuses`.`url` FROM `mirror_statuses`' .
' WHERE `mirror_statuses`.`active`' .
+ ' AND `mirror_statuses`.`last_sync` > UNIX_TIMESTAMP(NOW())-' . $cutoff .
' AND `mirror_statuses`.`start` > UNIX_TIMESTAMP(NOW())-' . $cutoff .
' AND `mirror_statuses`.`protocol` = "' . $protocol . '"' .
' GROUP BY `mirror_statuses`.`url`' .