devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a5fe8a1e87b4e4f75d148fd97f3483ce03d2f777

commit a5fe8a1e87b4e4f75d148fd97f3483ce03d2f777
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Feb 17 16:11:27 2015 -0500

    ecore-drm: Fix issue of checking improper eldbus message for errors
    
    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.mich...@samsung.com>
---
 src/lib/ecore_drm/ecore_drm_dbus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_drm/ecore_drm_dbus.c 
b/src/lib/ecore_drm/ecore_drm_dbus.c
index a39770d..558a820 100644
--- 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;

-- 


Reply via email to