danf: curl-www/dlwiz index.cgi,1.20,1.21

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/dlwiz
In directory labb:/tmp/cvs-serv15960/dlwiz

Modified Files:
	index.cgi 
Log Message:
Added experimental support for ignoring OS flavour and version in the
download wizard


Index: index.cgi
===================================================================
RCS file: /cvsroot/curl/curl-www/dlwiz/index.cgi,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- index.cgi	30 Jul 2008 03:47:43 -0000	1.20
+++ index.cgi	14 Aug 2008 21:48:48 -0000	1.21
@@ -606,8 +606,8 @@
     for $e (@all) {
         if( ($$e{'os'} eq $pick_os) &&
             (($pick_type eq "*") || ($$e{'type'} eq $pick_type)) &&
-            ($$e{'flav'} eq $pick_flav) &&
-            ($$e{'osver'} eq $pick_ver) ) {
+            (($pick_flav eq "*") || ($$e{'flav'} eq $pick_flav)) &&
+            (($pick_ver eq "*") || ($$e{'osver'} eq $pick_ver))) {
             my $c = $$e{'cpu'};
             $cpu{$c}++;
         }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.