projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aeb8a4
)
ecore-drm: Fix issue of checking improper eldbus message for errors
author
Chris Michael
<cp.michael@samsung.com>
Tue, 17 Feb 2015 21:11:27 +0000
(16:11 -0500)
committer
Chris Michael
<cp.michael@samsung.com>
Tue, 17 Feb 2015 21:19:55 +0000
(16:19 -0500)
Summary: When we send_and_block, we should be checking the 'reply' for
errors, not the original message which was sent.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_dbus.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm/ecore_drm_dbus.c
b/src/lib/ecore_drm/ecore_drm_dbus.c
index
a39770d
..
558a820
100644
(file)
--- a/
src/lib/ecore_drm/ecore_drm_dbus.c
+++ b/
src/lib/ecore_drm/ecore_drm_dbus.c
@@
-285,7
+285,7
@@
_ecore_drm_dbus_device_take_no_pending(uint32_t major, uint32_t minor, Eina_Bool
return -1;
reply = eldbus_proxy_send_and_block(proxy, msg, timeout);
- if (eldbus_message_error_get(
msg
, &errname, &errmsg))
+ if (eldbus_message_error_get(
reply
, &errname, &errmsg))
{
ERR("Eldbus Message Error: %s %s", errname, errmsg);
return -1;