From 4a5fa7f6716ea348c7e4f14ff8f7040aa8711797 Mon Sep 17 00:00:00 2001 From: Szymon Jastrzebski Date: Wed, 25 Apr 2018 16:33:27 +0200 Subject: [PATCH] [Download] Fix for buildbreak Change-Id: If84461ea78af687e490c6cb49cf503001a973c7f Signed-off-by: Szymon Jastrzebski --- src/download/download_instance.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/download/download_instance.cc b/src/download/download_instance.cc index 47bd3267..0ebd945a 100644 --- a/src/download/download_instance.cc +++ b/src/download/download_instance.cc @@ -571,9 +571,9 @@ void DownloadInstance::DownloadManagerStart(const picojson::value& args, picojso } } - CHECK_STORAGE_ACCESS(diPtr->destination.empty() + CHECK_STORAGE_ACCESS(di_ptr->destination.empty() ? common::FilesystemProvider::Create().GetRealPath("downloads") - : diPtr->destination, + : di_ptr->destination, &out); if (!args.get("fileName").is()) { -- 2.34.1