From: taesubkim Date: Wed, 6 Apr 2016 23:42:57 +0000 (+0900) Subject: Apply coding rule X-Git-Tag: submit/tizen/20160503.120331~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28b247910fa16329eb3d4a7a5a87f39707bd60e1;p=platform%2Fcore%2Fapi%2Fvpn-setting.git Apply coding rule Change-Id: I4262990f2540c474e91c51ecc8fd85045f6e0c3b Signed-off-by: Taesub Kim --- diff --git a/dvpnlib/src/dvpnlib-vpn-connnection.c b/dvpnlib/src/dvpnlib-vpn-connnection.c index 88e93bb..93c28b0 100644 --- a/dvpnlib/src/dvpnlib-vpn-connnection.c +++ b/dvpnlib/src/dvpnlib-vpn-connnection.c @@ -319,9 +319,8 @@ static void parse_connection_property_server_routes( GVariantIter *route_entry; g_variant_iter_init(&outer, server_routes); - if (g_variant_iter_n_children(&outer) == 0) { + if (g_variant_iter_n_children(&outer) == 0) return; - } if (connection->server_routes) g_slist_free_full(connection->server_routes, diff --git a/packaging/capi-network-vpn-setting.spec b/packaging/capi-network-vpn-setting.spec index 9d4e2f7..bb9e28c 100644 --- a/packaging/capi-network-vpn-setting.spec +++ b/packaging/capi-network-vpn-setting.spec @@ -1,6 +1,6 @@ Name: capi-network-vpn-setting Summary: Default VPN Library -Version: 0.1.0_1 +Version: 0.1.0_2 Release: 1 Group: System/Network License: Apache-2.0 diff --git a/test/vpn_test.c b/test/vpn_test.c index 3c77ec2..a264131 100644 --- a/test/vpn_test.c +++ b/test/vpn_test.c @@ -150,9 +150,8 @@ static void _test_get_vpn_handle(vpn_h *handle_ptr) static void _test_get_user_input(char *buf, char *what) { printf("Please ENTER %s:", what); - if (scanf(" %[^\n]s", buf) < 0) { + if (scanf(" %[^\n]s", buf) < 0) printf("Error in Reading the data to Buffer\n"); - } } int test_vpn_init(void)