danf: curl-www/dl remcheck.pl,1.24,1.25
[email protected] Wed, 10 Feb 2010 19:47:22 +0000
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/dl
In directory giant.haxx.se:/var/tmp/cvs-serv20036
Modified Files:
remcheck.pl
Log Message:
Get the last five versions more reliably, even when the database is
out of sync.
Index: remcheck.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/dl/remcheck.pl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- remcheck.pl 24 May 2009 18:17:12 -0000 1.24
+++ remcheck.pl 10 Feb 2010 19:47:19 -0000 1.25
@@ -338,8 +338,7 @@
#
my @five = getlast5versions();
-
- shift @five; # we already tried the latest
+ @five = grep (!/^$version$/, @five); # we already tried the latest
# while no data was received, try older versions
while(@five && !$st) {