From: Szymon Jastrzebski Date: Wed, 25 Apr 2018 14:33:27 +0000 (+0200) Subject: [Download] Fix for buildbreak X-Git-Tag: submit/tizen/20180427.125243~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a5fa7f6716ea348c7e4f14ff8f7040aa8711797;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Download] Fix for buildbreak Change-Id: If84461ea78af687e490c6cb49cf503001a973c7f Signed-off-by: Szymon Jastrzebski --- 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()) {