summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-02-26 17:11:57 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-02-26 17:11:57 +0000
commit6ef17a10f724fa6c936516d61d090c9b5ef21aa2 (patch)
tree4037e3a8e8b30806588d7b61f1c60b64f5133f32
parenta7f1185d9a36357f9d32c23d2f27ac6031dc1b08 (diff)
Fix typo in manager handling
-rw-r--r--hcid/dbus-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/dbus-manager.c b/hcid/dbus-manager.c
index 4e6b98c3..64b733e7 100644
--- a/hcid/dbus-manager.c
+++ b/hcid/dbus-manager.c
@@ -149,8 +149,8 @@ DBusHandlerResult msg_func_manager(DBusConnection *conn, DBusMessage *msg, void
syslog(LOG_INFO, "Manager path:%s method:%s",
dbus_message_get_path(msg), method);
- if (!strcmp(iface, MANAGER_INTERFACE))
- return ret;
+ if (strcmp(iface, MANAGER_INTERFACE))
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
for (handlers = mgr_services; handlers->name != NULL; handlers++) {
if (strcmp(handlers->name, method))