diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-06-22 03:23:26 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-06-22 03:23:26 +0000 |
commit | a7a78009cae0f94cff8d16430522a8901d1c4b90 (patch) | |
tree | 8783d50bac3401aa6bdd13e5e729c533b3071d3a /hcid/server.c | |
parent | ffd959d87bdbdfc823b1e7722c09c08c61a2390f (diff) |
Handle local connection disconnects
Diffstat (limited to 'hcid/server.c')
-rw-r--r-- | hcid/server.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hcid/server.c b/hcid/server.c index 49f9ff54..a9878f06 100644 --- a/hcid/server.c +++ b/hcid/server.c @@ -38,12 +38,11 @@ static DBusHandlerResult filter_function(DBusConnection *conn, { if (dbus_message_is_signal(msg, DBUS_INTERFACE_LOCAL, "Disconnected") && strcmp(dbus_message_get_path(msg), DBUS_PATH_LOCAL) == 0) { - debug("Received disconnected signal"); + debug("Received local disconnected signal"); + name_listener_indicate_disconnect(conn); return DBUS_HANDLER_RESULT_HANDLED; } - name_listener_indicate_disconnect(conn); - return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } |