zehortigoza pushed a commit to branch master.
commit 932a7a00cdf509eea4e28804c9b4b2f1df61d3ee
Author: José Roberto de Souza <[email protected]>
Date: Mon Sep 2 17:07:16 2013 -0300
eldbus: Check if interface of signal match with signal handler
Thanks fgau for pointing this issue.
---
src/lib/eldbus/eldbus_core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/eldbus/eldbus_core.c b/src/lib/eldbus/eldbus_core.c
index 509c2ea..a81a60a 100644
--- a/src/lib/eldbus/eldbus_core.c
+++ b/src/lib/eldbus/eldbus_core.c
@@ -876,6 +876,8 @@ cb_signal_dispatcher(Eldbus_Connection *conn, DBusMessage
*msg)
if (!dbus_message_has_sender(msg, sh->sender)) continue;
}
if (sh->path && !dbus_message_has_path(msg, sh->path)) continue;
+ if (sh->interface && !dbus_message_has_interface(msg, sh->interface))
+ continue;
if (sh->member && !dbus_message_has_member(msg, sh->member)) continue;
if (!extra_arguments_check(msg, sh)) continue;
--
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk