Fixing ticket #85: Compatibility issue with boost::filesystem v3 when creating the serverlist md5-filename.
This commit is contained in:
1 parent
6bab9e8e00
commit
3aa998070f
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user