From ba3d4faa51283ee8540388d196007804d1be5d68 Mon Sep 17 00:00:00 2001 From: Andrey Zabolotnyi Date: Wed, 20 Sep 2017 13:39:30 +0300 Subject: [PATCH] Agent is astyled --- agent/scripts/gbs.conf | 7 ++++--- device_core/nmdaemon/dpm/dpm_api_mapper.cpp | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/agent/scripts/gbs.conf b/agent/scripts/gbs.conf index 17520ae..5263649 100644 --- a/agent/scripts/gbs.conf +++ b/agent/scripts/gbs.conf @@ -41,9 +41,10 @@ buildroot = ~/gbs_root_tm2_tizen4 ############################################# Profile [profile.tm1_tizen4] [repo.snapshots_tizen4_arm_base] -url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm/packages/ +#url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm/packages/ +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/standard/packages/ [repo.snapshots_tizen4_tm1_srk] -url = http://52.71.167.178/repo/tm1/packages/ +url = http://52.71.167.178:8803/repo/tm1/packages/ [profile.tm1_tizen4] obs = obs.tizen_org @@ -57,7 +58,7 @@ url=http://10.103.211.119/220svr/releases/adv-tizen-4.0-product-migration/KantM_ [repo.base_Main2017_KantM_4.0] url=http://10.103.211.119/220svr/base/adv-tizen-4.0-base-migration/standard/latest/repos/base/armv7l/packages [repo.KantM_4.0_srk] -url = http://52.71.167.178/repo/kantm4.0/packages/ +url = http://52.71.167.178:8803/repo/kantm4.0/packages/ #[repo.product_Main2017_KantM_4.0] #url=http://10.103.211.119/220svr/releases/adv-tizen-4.0-product-migration/KantM_ATSC/latest/repos/product/armv7l/packages/ diff --git a/device_core/nmdaemon/dpm/dpm_api_mapper.cpp b/device_core/nmdaemon/dpm/dpm_api_mapper.cpp index 02c0f29..ed11fe8 100644 --- a/device_core/nmdaemon/dpm/dpm_api_mapper.cpp +++ b/device_core/nmdaemon/dpm/dpm_api_mapper.cpp @@ -433,7 +433,7 @@ dpm_api::error_code Mapper::work(const std::string& name, const int param, const if (param == 0) use_items = false; // turn off the firewall } - if (use_items){ + if (use_items) { for (auto& item : items) { res = its->second((dpmh)handle, item.c_str()); if (res != DPM_ERROR_NONE) { -- 2.7.4