From: jaekuk, lee Date: Wed, 15 Jun 2016 04:44:04 +0000 (+0900) Subject: delete a space & use a tab X-Git-Tag: submit/tizen_mobile/20160615.072510^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F74631%2F1;p=platform%2Fcore%2Fapi%2Furl-download.git delete a space & use a tab Change-Id: I2fde5a71919b13db40163dc7fd04c9406c981e7a Signed-off-by: jaekuk, lee --- diff --git a/src/download-wrapping.c b/src/download-wrapping.c index 8802ecd..a8837a7 100755 --- a/src/download-wrapping.c +++ b/src/download-wrapping.c @@ -37,7 +37,7 @@ LOGI(format, ##ARG); \ #endif #define TELEPHONY_FEATURE "tizen.org/feature/network.telephony" -#define WIFI_FEATURE "tizen.org/feature/network.wifi" +#define WIFI_FEATURE "tizen.org/feature/network.wifi" #define WIFI_DIRECT_FEATURE "tizen.org/feature/network.wifi.direct" /////////////////////// APIs ///////////////////////////////// @@ -105,28 +105,28 @@ int download_set_network_type(int download_id, system_info_get_platform_bool (WIFI_FEATURE, &bIsWifiFeatureSupported); system_info_get_platform_bool (WIFI_DIRECT_FEATURE, &bIsWifiDirectFeatureSupported); - switch (net_type) { - case DOWNLOAD_NETWORK_DATA_NETWORK: - if (!bIsTelephonyFeatureSupported) { - return DOWNLOAD_ERROR_NOT_SUPPORTED; - } - break; - case DOWNLOAD_NETWORK_WIFI: - if (!bIsWifiFeatureSupported) { - return DOWNLOAD_ERROR_NOT_SUPPORTED; - } - break; - case DOWNLOAD_NETWORK_WIFI_DIRECT: - if (!bIsWifiDirectFeatureSupported) { - return DOWNLOAD_ERROR_NOT_SUPPORTED; - } - break; - case DOWNLOAD_NETWORK_ALL: - if (!bIsTelephonyFeatureSupported && !bIsWifiFeatureSupported && !bIsWifiDirectFeatureSupported) { - return DOWNLOAD_ERROR_NOT_SUPPORTED; - } - break; - } + switch (net_type) { + case DOWNLOAD_NETWORK_DATA_NETWORK: + if (!bIsTelephonyFeatureSupported) { + return DOWNLOAD_ERROR_NOT_SUPPORTED; + } + break; + case DOWNLOAD_NETWORK_WIFI: + if (!bIsWifiFeatureSupported) { + return DOWNLOAD_ERROR_NOT_SUPPORTED; + } + break; + case DOWNLOAD_NETWORK_WIFI_DIRECT: + if (!bIsWifiDirectFeatureSupported) { + return DOWNLOAD_ERROR_NOT_SUPPORTED; + } + break; + case DOWNLOAD_NETWORK_ALL: + if (!bIsTelephonyFeatureSupported && !bIsWifiFeatureSupported && !bIsWifiDirectFeatureSupported) { + return DOWNLOAD_ERROR_NOT_SUPPORTED; + } + break; + } return dp_interface_set_network_type(download_id, (int)net_type); }