Use curly braces for 'if' to confirm tizen coding rule. 72/259072/1
authorNiraj Kumar Goit <niraj.g@samsung.com>
Mon, 31 May 2021 14:07:49 +0000 (19:37 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Mon, 31 May 2021 14:07:49 +0000 (19:37 +0530)
Change-Id: I97dc11f3b19f8cfba5c10c10ae5695db25f1214c
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
tools/tethering_test.c

index 8f8f9ab..6a01a38 100755 (executable)
@@ -675,16 +675,18 @@ static int test_tethering_create(void)
                __connection_state_changed_cb, __security_type_changed_cb,
                __ssid_visibility_changed_cb, __passphrase_changed_cb};
 
-       if (__is_err(ret) == false) __register_cbs(th, &cbs, NULL);
-       else {
+       if (__is_err(ret) == false) {
+               __register_cbs(th, &cbs, NULL);
+       } else {
                printf("Tethering create is failed\n");
                return -1;
        }
 
        ret = tethering_create(&th5);
 
-       if (__is_err(ret) == false) __register_cbs(th5, &cbs, NULL);
-       else {
+       if (__is_err(ret) == false) {
+               __register_cbs(th5, &cbs, NULL);
+       } else {
                printf("Tethering create is failed\n");
                return -1;
        }