summaryrefslogtreecommitdiff
path: root/wearable/app
diff options
context:
space:
mode:
authorJihoon Jung <jh8801.jung@samsung.com>2018-04-04 15:57:08 +0900
committerJihoon Jung <jh8801.jung@samsung.com>2018-04-04 15:58:03 +0900
commitc83a4a0352121a521023739194edee878f874c59 (patch)
tree00687b125f12c09ddd9adc5e45fb3215adfd6fd8 /wearable/app
parentaac25b1caf84312cc40f8dde9d3c6e0bd5f25524 (diff)
downloadug-nfc-efl-c83a4a0352121a521023739194edee878f874c59.tar.gz
ug-nfc-efl-c83a4a0352121a521023739194edee878f874c59.tar.bz2
ug-nfc-efl-c83a4a0352121a521023739194edee878f874c59.zip
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com> Change-Id: Ib55f95c8411b9d1f364bd464970a1db7dcc4e9d2
Diffstat (limited to 'wearable/app')
-rwxr-xr-xwearable/app/src/nsa-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wearable/app/src/nsa-main.c b/wearable/app/src/nsa-main.c
index 57c0845..78df7c9 100755
--- a/wearable/app/src/nsa-main.c
+++ b/wearable/app/src/nsa-main.c
@@ -116,7 +116,7 @@ static void __parse_service(app_control_h service, void *user_data)
ad->op_type = NSA_OP_NFC;
- if (strncmp(operation, APP_CONTROL_OPERATION_SETTING_NFC,
+ if (operation != NULL && strncmp(operation, APP_CONTROL_OPERATION_SETTING_NFC,
strlen(APP_CONTROL_OPERATION_SETTING_NFC)) == 0) {
/* launched by app-control */
app_control_clone(&(ad->service), service);