stefan pushed a commit to branch master.

commit d7d347da0a84fa9cfd964962745fd748d17d630c
Author: Stefan Schmidt <[email protected]>
Date:   Fri Aug 9 10:27:54 2013 +0100

    eldbus: Fix copy and paste error.
    
    We are in the remove case here. The interfaces_added looks like a missed 
change
    from the copy and paste of the add case.
    
    CID 1039671
---
 src/lib/eldbus/eldbus_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eldbus/eldbus_object.c b/src/lib/eldbus/eldbus_object.c
index 9b75175..faef28f 100644
--- a/src/lib/eldbus/eldbus_object.c
+++ b/src/lib/eldbus/eldbus_object.c
@@ -421,7 +421,7 @@ eldbus_object_event_callback_add(Eldbus_Object *obj, 
Eldbus_Object_Event_Type ty
                                               
ELDBUS_FDO_INTERFACE_OBJECT_MANAGER,
                                               "InterfacesRemoved",
                                               _cb_interfaces_removed, obj);
-           EINA_SAFETY_ON_NULL_RETURN(obj->interfaces_added);
+           EINA_SAFETY_ON_NULL_RETURN(obj->interfaces_removed);
            eldbus_signal_handler_match_extra_set(obj->interfaces_removed,
                                                 "arg0", obj->path, NULL);
            break;

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to