From: seolheui,kim Date: Mon, 5 Dec 2016 08:51:50 +0000 (+0900) Subject: Fix dpm-syspoup process of password reply event X-Git-Tag: accepted/tizen/3.0/common/20161207.195621~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=007c7b1e192563cd0c11701a4b1da7e96355cced;p=platform%2Fcore%2Fsecurity%2Fdevice-policy-manager.git Fix dpm-syspoup process of password reply event Change-Id: I6400e8d107656ed8eb3d08117584c2ceedba31f5 Signed-off-by: seolheui,kim --- diff --git a/tools/syspopup/src/ui.c b/tools/syspopup/src/ui.c index 7eec792..fb4ca36 100755 --- a/tools/syspopup/src/ui.c +++ b/tools/syspopup/src/ui.c @@ -95,8 +95,8 @@ static void reply_password_enforce_event_handler(app_control_h ug, app_control_h return; } - if (strcmp(result_string, "SETTING_PW_TYPE_ENTER_LOCK_TYPE") || - strcmp(result_string, "SETTING_PW_TYPE_VERIFY_FP_ALT_PASSWORD")) { + if (!strcmp(result_string, "SETTING_PW_TYPE_ENTER_LOCK_TYPE") || + !strcmp(result_string, "SETTING_PW_TYPE_VERIFY_FP_ALT_PASSWORD")) { free(result_string); app_control_get_extra_data(reply, "current", ¤t);