DepotDownloader: Fixed compile error in last commit.

pull/8/head
Nicholas Hastings 13 years ago
parent d11b77403c
commit a93ac77b99

@ -17,7 +17,7 @@ namespace DepotDownloader
const int MAX_STORAGE_RETRIES = 500;
const int MAX_CONNECT_RETRIES = 10;
const int NUM_STEAM3_CONNECTIONS = 4;
const TimeSpan STEAM2_CONNECT_TIMEOUT = TimeSpan.FromSeconds(5);
const int STEAM2_CONNECT_TIMEOUT_SECONDS = 5;
public static DownloadConfig Config = new DownloadConfig();
@ -704,7 +704,7 @@ namespace DepotDownloader
string txtManifest = Path.Combine(installDir, "manifest.txt");
ContentServerClient csClient = new ContentServerClient();
csClient.ConnectionTimeout = STEAM2_CONNECT_TIMEOUT;
csClient.ConnectionTimeout = TimeSpan.FromSeconds(STEAM2_CONNECT_TIMEOUT_SECONDS);
ContentServerClient.StorageSession session = GetSteam2StorageSession(contentServers, csClient, depotId, depotVersion);
if(session == null)

Loading…
Cancel
Save