Apply the coding rule 53/78553/1 accepted/tizen/common/20160706.142349 accepted/tizen/ivi/20160706.083130 accepted/tizen/mobile/20160706.083111 accepted/tizen/tv/20160706.083038 accepted/tizen/wearable/20160706.083049 submit/tizen/20160706.055118
authorJihoon Jung <jh8801.jung@samsung.com>
Wed, 6 Jul 2016 05:19:44 +0000 (14:19 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Wed, 6 Jul 2016 05:21:45 +0000 (14:21 +0900)
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I7e3c83a07450bce3017d36b6e5c25eb9c21d75b7

src/nfc_common.c

index ff14b4e858e1aff0028106603b13aa6f92a467c8..87413d510f924fad627a7200f1fcf31f3a86224c 100755 (executable)
@@ -63,7 +63,7 @@ int _iter_func(const aul_app_info *info, void *data)
        int *pid = (int *)data;
        int status;
 
-        if (nfc_common_get_login_user(&uid) == false) {
+       if (nfc_common_get_login_user(&uid) == false) {
                LOGD("net_nfc_util_get_login_user is failed");
                return 0;
        }
@@ -72,7 +72,7 @@ int _iter_func(const aul_app_info *info, void *data)
 
        LOGD("login user is %d, pid is %d, status is %d", (int)uid, info->pid, status);
 
-       if(status == STATUS_VISIBLE || status == STATUS_FOCUS) {
+       if (status == STATUS_VISIBLE || status == STATUS_FOCUS) {
                *pid = info->pid;
                return -1;
        }
@@ -83,12 +83,12 @@ pid_t nfc_common_get_focus_app_pid()
 {
        int ret;
        uid_t uid = 0;
-        pid_t pid = 0;
+       pid_t pid = 0;
 
        if (nfc_common_get_login_user(&uid) == false) {
                LOGD("nfc_common_get_login_user is failed");
                return -1;
-        }
+       }
 
        ret = aul_app_get_all_running_app_info_for_uid(_iter_func, &pid, uid);
 
@@ -96,8 +96,8 @@ pid_t nfc_common_get_focus_app_pid()
                return pid;
        } else {
                LOGD("aul_app_get_all_running_app_info_for_uid is failed");
-                return -1;
-        }
+               return -1;
+       }
 }
 
 char * nfc_common_get_bt_address_string(data_h data)