From: Jihoon Jung Date: Wed, 6 Jul 2016 05:19:44 +0000 (+0900) Subject: Apply the coding rule X-Git-Tag: submit/tizen/20160706.055118^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb9f62f7a6bc4501509d4f761f64d29a5144245f;p=platform%2Fcore%2Fapi%2Fnfc.git Apply the coding rule Signed-off-by: Jihoon Jung Change-Id: I7e3c83a07450bce3017d36b6e5c25eb9c21d75b7 --- diff --git a/src/nfc_common.c b/src/nfc_common.c index ff14b4e..87413d5 100755 --- a/src/nfc_common.c +++ b/src/nfc_common.c @@ -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)