From bc64460327270068a4c77bd2634818c704b1c955 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 23 May 2017 16:48:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=96=87=E4=BB=B6=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Http/HttpDownloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/HttpDownloader.cpp b/src/Http/HttpDownloader.cpp index d6162ee4..6bfdaee0 100644 --- a/src/Http/HttpDownloader.cpp +++ b/src/Http/HttpDownloader.cpp @@ -25,7 +25,7 @@ HttpDownloader::~HttpDownloader() { void HttpDownloader::startDownload(const string& url, const string& filePath,bool bAppend) { _filePath = filePath; if(_filePath.empty()){ - _filePath = exeDir() + "/HttpDownloader/" + MD5(url).hexdigest(); + _filePath = exeDir() + "HttpDownloader/" + MD5(url).hexdigest(); } _saveFile = File::createfile_file(_filePath.data(),bAppend ? "ab" : "wb"); if(!_saveFile){