From 3aa998070f99a8a1b1b43bdfc8c868f134f62e4f Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 25 Dec 2011 12:34:07 +0000 Subject: [PATCH] Fixing ticket #85: Compatibility issue with boost::filesystem v3 when creating the serverlist md5-filename. --- src/net/common/clientstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index d02880f6..1c255b53 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -183,7 +183,7 @@ ClientStateStartServerListDownload::Enter(boost::shared_ptr 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 downloader(new DownloadHelper); downloader->Init(serverListUrl + ".md5", tmpServerListPath.directory_string()); ClientStateSynchronizingServerList::Instance().SetDownloadHelper(downloader);