projects
/
platform
/
core
/
system
/
tlm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bfa062
)
Fix wrong error handling
99/49399/2
author
Youmin Ha
<youmin.ha@samsung.com>
Tue, 13 Oct 2015 04:59:44 +0000
(13:59 +0900)
committer
Suchang Woo
<suchang.woo@samsung.com>
Tue, 13 Oct 2015 08:27:04 +0000
(
01:27
-0700)
tlm_seat_*() functions return TRUE on success, but the error handling
routine works wrong. This commit fixes it.
Change-Id: I12d32bff7460398b73e5a1aa512188456f13a3da
src/daemon/tlm-dbus-observer.c
patch
|
blob
|
history
diff --git
a/src/daemon/tlm-dbus-observer.c
b/src/daemon/tlm-dbus-observer.c
index
42c7847
..
c57f690
100644
(file)
--- a/
src/daemon/tlm-dbus-observer.c
+++ b/
src/daemon/tlm-dbus-observer.c
@@
-527,8
+527,8
@@
_finished:
_complete_request (self, req, err);
}
- if (ret) {
- WARN("The request is not processed
. Return value=%d", ret
);
+ if (ret
!= TRUE
) {
+ WARN("The request is not processed
well"
);
}
return G_SOURCE_REMOVE;