incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksch...@apache.org
Subject svn commit: r1330599 - /incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
Date Wed, 25 Apr 2012 23:26:54 GMT
Author: kschenk
Date: Wed Apr 25 23:26:53 2012
New Revision: 1330599

URL: http://svn.apache.org/viewvc?rev=1330599&view=rev
Log:
kls -- fixed getHost function

Modified:
    incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js

Modified: incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js?rev=1330599&r1=1330598&r2=1330599&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js (original)
+++ incubator/ooo/ooo-site/trunk/content/download/test/download_new_dl.js Wed Apr 25 23:26:53
2012
@@ -18,7 +18,7 @@ function getMirrorHost() {
 		// If random value is lower than ratio
         	if ( randVal < MIRROR_RATIO ) {
 			mirrorHost = "Apache";
-			MIRROR = MIRROR_APACHE_REF;
+			return MIRROR_APACHE_URL;
 		}
 	}
 	// Are SourceForge mirrors working?
@@ -26,7 +26,7 @@ function getMirrorHost() {
 		// If random value is higher than ratio
         	if ( randVal > MIRROR_RATIO ) {
 			mirrorHost = "SourceForge";
-			MIRROR = MIRROR_SOURCEFORGE_REF;
+			return MIRROR_SOURCEFORGE_URL;
 		}
 	}
 



Mime
View raw message