Apply coding rule 08/65008/1
authortaesubkim <taesub.kim@samsung.com>
Wed, 6 Apr 2016 23:42:57 +0000 (08:42 +0900)
committertaesubkim <taesub.kim@samsung.com>
Wed, 6 Apr 2016 23:43:17 +0000 (08:43 +0900)
Change-Id: I4262990f2540c474e91c51ecc8fd85045f6e0c3b
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
dvpnlib/src/dvpnlib-vpn-connnection.c
packaging/capi-network-vpn-setting.spec
test/vpn_test.c

index 88e93bb20906012a0b7c9a55c60a258917712e9a..93c28b0efd7c455468801f853c11138a9dcc3b22 100644 (file)
@@ -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,
index 9d4e2f71fac3ebdc70757a3aaad40e71c9ff4c5d..bb9e28c396070511ceef4f627eed9d7f72efe304 100644 (file)
@@ -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
index 3c77ec2cb9a8f1fdd37bd496dc1731e2befecbd3..a2641319ed5e3862ac13ed7aa07fbc8b24497ba6 100644 (file)
@@ -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)