[version] 2.15 19/168419/1 accepted/tizen/3.0/common/20180202.113512 accepted/tizen/3.0/mobile/20180202.052129 accepted/tizen/3.0/tv/20180202.052135 accepted/tizen/3.0/wearable/20180202.052139 submit/tizen_3.0/20180126.102446
authorPiotr Kosko <p.kosko@samsung.com>
Fri, 26 Jan 2018 10:04:18 +0000 (11:04 +0100)
committerPiotr Kosko <p.kosko@samsung.com>
Fri, 26 Jan 2018 10:04:20 +0000 (11:04 +0100)
- version increased
- fixed minor style issue

Change-Id: I70a371ce7e6834bf73c413e19de37111168c9147
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
packaging/webapi-plugins.spec
src/download/download_instance.cc

index 977ccc8a5852165edea4552b4c45ae2c6808cd11..3b4e9b26bcbd74e1896265c84d8ba420fd422db2 100644 (file)
@@ -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
index 73bd411e406a27f96e4f57f3fcf34d6009234e09..fda4c5749994d1fdbbcf214970602abf61702f27 100644 (file)
@@ -188,8 +188,7 @@ void DownloadInstance::OnStateChanged(int download_id, download_state_e state, v
   CallbackPtr downCbPtr = static_cast<CallbackPtr>(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;