summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaekuk, lee <juku1999@samsung.com>2016-09-08 16:24:40 +0900
committerjaekuk, lee <juku1999@samsung.com>2016-09-08 16:24:40 +0900
commiteb57317f8ecd21ae34ba99fa834ca01f25d2ff08 (patch)
tree9d99a171a5768f9bdb59a880e4fd7a8f9a273bcd
parent212bf1b2d7d01a1d80bf50a38916395f47fd87b1 (diff)
downloadurl-download-accepted/tizen_3.0.m2_wearable.tar.gz
url-download-accepted/tizen_3.0.m2_wearable.tar.bz2
url-download-accepted/tizen_3.0.m2_wearable.zip
Change-Id: I8414f809dff953a12b7d45248a68f24b215c4d6d Signed-off-by: jaekuk, lee <juku1999@samsung.com>
-rwxr-xr-xpackaging/capi-web-url-download.spec2
-rwxr-xr-xsrc/download-wrapping.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/packaging/capi-web-url-download.spec b/packaging/capi-web-url-download.spec
index c93f6b8..fa8585c 100755
--- a/packaging/capi-web-url-download.spec
+++ b/packaging/capi-web-url-download.spec
@@ -1,7 +1,7 @@
Name: capi-web-url-download
Summary: CAPI for content download with web url
-Version: 1.2.7
+Version: 1.2.8
Release: 0
Group: Development/Libraries
License: Apache-2.0
diff --git a/src/download-wrapping.c b/src/download-wrapping.c
index a8837a7..3f7225e 100755
--- a/src/download-wrapping.c
+++ b/src/download-wrapping.c
@@ -97,9 +97,9 @@ int download_set_network_type(int download_id,
{
TRACE_INFO("");
- int bIsTelephonyFeatureSupported = 0;
- int bIsWifiFeatureSupported = 0;
- int bIsWifiDirectFeatureSupported = 0;
+ bool bIsTelephonyFeatureSupported = 0;
+ bool bIsWifiFeatureSupported = 0;
+ bool bIsWifiDirectFeatureSupported = 0;
system_info_get_platform_bool (TELEPHONY_FEATURE, &bIsTelephonyFeatureSupported);
system_info_get_platform_bool (WIFI_FEATURE, &bIsWifiFeatureSupported);
@@ -379,7 +379,7 @@ int download_get_notification_app_control(int download_id, download_notification
TRACE_INFO("");
if (handle == NULL)
return DOWNLOAD_ERROR_INVALID_PARAMETER;
- return dp_interface_get_notification_service_handle(download_id, (int)type, handle);
+ return dp_interface_get_notification_service_handle(download_id, (int)type, (void **)handle);
}
int download_set_notification_title(int download_id, const char *title)