projects
/
platform
/
core
/
appfw
/
appcore-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
392efbe
)
Fix wrong condition check logic
32/172332/2
author
hyunho
<hhstark.kang@samsung.com>
Tue, 13 Mar 2018 08:25:09 +0000
(17:25 +0900)
committer
Hyunho Kang
<hhstark.kang@samsung.com>
Thu, 15 Mar 2018 01:34:16 +0000
(
01:34
+0000)
Change-Id: Ifdae44fb90a2b67521014d2ab711db318346ffbc
Signed-off-by: hyunho <hhstark.kang@samsung.com>
src/watch_app_main.c
patch
|
blob
|
history
diff --git
a/src/watch_app_main.c
b/src/watch_app_main.c
index
82921a3
..
02fbd99
100755
(executable)
--- a/
src/watch_app_main.c
+++ b/
src/watch_app_main.c
@@
-200,13
+200,13
@@
static void __alarm_init(void)
char appid[APPID_BUFFER_MAX] = {0,};
r = aul_app_get_appid_bypid(pid, appid, APPID_BUFFER_MAX);
- if (r
< 0
) {
+ if (r
!= AUL_R_OK
) {
_E("fail to get the appid from the pid : %d", pid);
assert(0);
}
r = alarmmgr_init(appid);
- if (r
< 0
) {
+ if (r
!= ALARMMGR_RESULT_SUCCESS
) {
_E("fail to alarmmgr_init : error_code : %d", r);
assert(0);
}