Fix coding rule 54/149254/2 accepted/tizen/unified/20170913.072037 submit/tizen/20170913.014859
authorJooseok Song <seogii.song@samsung.com>
Tue, 12 Sep 2017 03:02:01 +0000 (12:02 +0900)
committerJooseok Song <seogii.song@samsung.com>
Wed, 13 Sep 2017 01:12:04 +0000 (01:12 +0000)
Change-Id: I4b95688a1cf2fb37a548a60867d8688315832ea7

common/src/account_db_helper.c
common/src/account_key_handler.c

index 62a6cff46eaeaceb845671bddc73d7713213eab0..d8373248b3dc334b28e47c12d62cc5a37cf7f17d 100644 (file)
@@ -1626,7 +1626,7 @@ CATCH:
                                char buf[64] = {0, };
                                ACCOUNT_SNPRINTF(buf, sizeof(buf), "%s:%s", _ACCOUNT_NOTI_NAME_DELETE, p_tmpid);
                                ACCOUNT_SLOGD("%s", buf);
-                               if(NULL != buf) {
+                               if (NULL != buf) {
                                        if (vconf_set_str(VCONFKEY_ACCOUNT_MSG_STR, buf) != 0) {
                                                _ERR("Vconf MSG Str set FAILED !!!!!!\n");;
                                        }
index 8548a1743acab71145e616dfd78466677b8d6a79..84979617159620c67fb03edf291d46cd9d1f209c 100644 (file)
@@ -164,7 +164,7 @@ static int _get_app_dek(char *mkey, const char *pkg_id, unsigned char **dek, int
                return ret;
        }
 
-       if(NULL == dek_buffer) {
+       if (NULL == dek_buffer) {
                ACCOUNT_FATAL("DEK Buffer is NULL");
                return CKMC_ERROR_UNKNOWN;
        }