From cc5cfff62f8f97fbab7bcbf015efe1d6dd70622d Mon Sep 17 00:00:00 2001 From: "jaekuk, lee" Date: Wed, 15 Jun 2016 13:44:04 +0900 Subject: [PATCH] delete a space & use a tab Change-Id: I2fde5a71919b13db40163dc7fd04c9406c981e7a Signed-off-by: jaekuk, lee --- src/download-wrapping.c | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) 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); } -- 2.7.4