From a717005c9896ffccefefd1bfeb5cce69da7708cb Mon Sep 17 00:00:00 2001 From: Yuri Gorshenin Date: Wed, 24 Jun 2015 14:28:16 +0300 Subject: [PATCH] [storage] Fixed HttpMapFilesDownloader::IsIdle() method. --- storage/http_map_files_downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/http_map_files_downloader.cpp b/storage/http_map_files_downloader.cpp index 2a55c9a1db..4cb27d9800 100644 --- a/storage/http_map_files_downloader.cpp +++ b/storage/http_map_files_downloader.cpp @@ -43,7 +43,7 @@ MapFilesDownloader::TProgress HttpMapFilesDownloader::GetDownloadingProgress() bool HttpMapFilesDownloader::IsIdle() { ASSERT(m_checker.CalledOnOriginalThread(), ()); - return m_request.get() != nullptr; + return m_request.get() == nullptr; } void HttpMapFilesDownloader::Reset()