summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchangyu.choi <changyu.choi@samsung.com>2020-06-25 14:35:49 +0900
committerchangyu.choi <changyu.choi@samsung.com>2020-06-25 14:36:29 +0900
commit6813b19565277ac4102d3b97bc0e5039ad1cc5f5 (patch)
treebdc7eacdae1495ee29b3b5c36df0d7967e7b0d1b
parent42ec3f45f044911da2dfda34e67102ff06424a7a (diff)
downloadlaunchpad-6813b19565277ac4102d3b97bc0e5039ad1cc5f5.tar.gz
launchpad-6813b19565277ac4102d3b97bc0e5039ad1cc5f5.tar.bz2
launchpad-6813b19565277ac4102d3b97bc0e5039ad1cc5f5.zip
Change size method to 'sizeof'
Change-Id: I22ae01445be913c5c4b8c890bd899bad56f71f1a Signed-off-by: changyu-choi <changyu.choi@samsung.com>
-rw-r--r--src/common/src/launchpad_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/src/launchpad_common.c b/src/common/src/launchpad_common.c
index 1521634..3c61837 100644
--- a/src/common/src/launchpad_common.c
+++ b/src/common/src/launchpad_common.c
@@ -603,10 +603,10 @@ static bool __validate_bundle_key(const char *key)
if (!key)
return false;
- if (!strncmp(key, "__AUL_", strlen("__AUL_")))
+ if (!strncmp(key, "__AUL_", sizeof("__AUL_")))
return false;
- if (!strncmp(key, "__APP_SVC_", strlen("__APP_SVC_")))
+ if (!strncmp(key, "__APP_SVC_", sizeof("__APP_SVC_")))
return false;
return true;