From: <wel...@us...> - 2011-11-26 20:54:26
|
Revision: 7762 http://planeshift.svn.sourceforge.net/planeshift/?rev=7762&view=rev Author: weltall2 Date: 2011-11-26 20:54:20 +0000 (Sat, 26 Nov 2011) Log Message: ----------- augumented it even more Modified Paths: -------------- trunk/src/pslaunch/updaterengine.cpp Modified: trunk/src/pslaunch/updaterengine.cpp =================================================================== --- trunk/src/pslaunch/updaterengine.cpp 2011-11-26 20:49:11 UTC (rev 7761) +++ trunk/src/pslaunch/updaterengine.cpp 2011-11-26 20:54:20 UTC (rev 7762) @@ -1239,10 +1239,14 @@ { fileUtil->RemoveFile(SERVERS_CURRENT_FILENAME, true); downloader->SetProxy(config->GetProxy().host.GetData(), config->GetProxy().port); - if(!downloader->DownloadFile(FALLBACK_SERVER "updateservers.xml", SERVERS_CURRENT_FILENAME, true, true, 1, true)) + if(!downloader->DownloadFile("updateservers.xml", SERVERS_CURRENT_FILENAME, false, true, 1, true)) { - PrintOutput("\nFailed to download servers info!\n"); - return; + //not in the server let's try the fallback + if(!downloader->DownloadFile(FALLBACK_SERVER "updateservers.xml", SERVERS_CURRENT_FILENAME, false, true, 1, true)) + { + PrintOutput("\nFailed to download servers info!\n"); + return; + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |