Fixing ticket #85: Compatibility issue with boost::filesystem v3 when creating the serverlist md5-filename.

This commit is contained in:
lotodore
2011-12-25 12:34:07 +00:00
parent 6bab9e8e00
commit 3aa998070f
+1 -1
View File
@@ -183,7 +183,7 @@ ClientStateStartServerListDownload::Enter(boost::shared_ptr<ClientThread> client
tmpServerListPath /= serverListUrl.substr(pos);
if (exists(tmpServerListPath)) {
// Download and compare md5.
tmpServerListPath = change_extension(tmpServerListPath, extension(tmpServerListPath) + ".md5");
tmpServerListPath = tmpServerListPath.directory_string() + ".md5";
boost::shared_ptr<DownloadHelper> downloader(new DownloadHelper);
downloader->Init(serverListUrl + ".md5", tmpServerListPath.directory_string());
ClientStateSynchronizingServerList::Instance().SetDownloadHelper(downloader);