From: Piotr Kosko Date: Fri, 26 Jan 2018 10:04:18 +0000 (+0100) Subject: [version] 2.15 X-Git-Tag: submit/tizen_4.0/20180126.102411^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0d174fe3affd1d5dead0f3c4517a36ae86aa557;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [version] 2.15 - version increased - fixed minor style issue Change-Id: I70a371ce7e6834bf73c413e19de37111168c9147 Signed-off-by: Piotr Kosko --- diff --git a/packaging/webapi-plugins.spec b/packaging/webapi-plugins.spec index 977ccc8a..3b4e9b26 100644 --- a/packaging/webapi-plugins.spec +++ b/packaging/webapi-plugins.spec @@ -10,7 +10,7 @@ %define crosswalk_extensions_path %{_libdir}/%{crosswalk_extensions} Name: webapi-plugins -Version: 2.14 +Version: 2.15 Release: 0 License: Apache-2.0 and BSD-3-Clause and MIT Group: Development/Libraries diff --git a/src/download/download_instance.cc b/src/download/download_instance.cc index 73bd411e..fda4c574 100644 --- a/src/download/download_instance.cc +++ b/src/download/download_instance.cc @@ -188,8 +188,7 @@ void DownloadInstance::OnStateChanged(int download_id, download_state_e state, v CallbackPtr downCbPtr = static_cast(user_data); // Prevent to call finished, cancelled or failed function more than once - if (DOWNLOAD_STATE_COMPLETED == downCbPtr->state || - DOWNLOAD_STATE_CANCELED == downCbPtr->state || + if (DOWNLOAD_STATE_COMPLETED == downCbPtr->state || DOWNLOAD_STATE_CANCELED == downCbPtr->state || DOWNLOAD_STATE_FAILED == downCbPtr->state) { LoggerD("Already finished job, not calling callback for %d state", downCbPtr->state); return;