diff options
author | David Zeuthen <david@fubar.dk> | 2004-08-02 20:17:27 +0000 |
---|---|---|
committer | David Zeuthen <david@fubar.dk> | 2004-08-02 20:17:27 +0000 |
commit | 3d246838365083fdaa51438b1046f3d5ca6c3aa8 (patch) | |
tree | c06c9039588ee4dd8963c31ba7de0b79838ff20e /libhal | |
parent | 5a651492c9186d2a23fa457b7742b90bef9e67c1 (diff) |
Only return RESULT_HANDLED if we really handle the message. Otherwise
return RESULT_NOT_YET_HANDLED. Bug identified by Dan Williams
<dcbw@redhat.com>.
Diffstat (limited to 'libhal')
-rw-r--r-- | libhal/libhal.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libhal/libhal.c b/libhal/libhal.c index 01bd7576..dce08e72 100644 --- a/libhal/libhal.c +++ b/libhal/libhal.c @@ -432,6 +432,7 @@ filter_func (DBusConnection * connection, dbus_free (udi); } } + return DBUS_HANDLER_RESULT_HANDLED; } else if (dbus_message_is_signal (message, "org.freedesktop.Hal.Manager", @@ -445,6 +446,7 @@ filter_func (DBusConnection * connection, dbus_free (udi); } } + return DBUS_HANDLER_RESULT_HANDLED; } else if (dbus_message_is_signal (message, "org.freedesktop.Hal.Manager", @@ -463,6 +465,7 @@ filter_func (DBusConnection * connection, dbus_free (capability); } } + return DBUS_HANDLER_RESULT_HANDLED; } else if (dbus_message_is_signal (message, "org.freedesktop.Hal.Device", "Condition")) { @@ -481,6 +484,7 @@ filter_func (DBusConnection * connection, dbus_free (condition_name); } + return DBUS_HANDLER_RESULT_HANDLED; } else if (dbus_message_is_signal (message, "org.freedesktop.Hal.Device", @@ -519,9 +523,10 @@ filter_func (DBusConnection * connection, } } + return DBUS_HANDLER_RESULT_HANDLED; } - return DBUS_HANDLER_RESULT_HANDLED; + return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } static LibHalFunctions hal_null_functions = { |