diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2006-11-01 11:33:41 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2006-11-01 11:33:41 +0000 |
commit | c31fef0ff07c09edb9df8b0abcab9a9e828627a1 (patch) | |
tree | 9772ff9f9689d608aae2c9e734120e3b80645afb /hcid/auth-agent.c | |
parent | a65ee7134a24338c1f4cd496f89d0cee49e89ba9 (diff) |
Don't return a boolean in the authorize callback
Diffstat (limited to 'hcid/auth-agent.c')
-rw-r--r-- | hcid/auth-agent.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hcid/auth-agent.c b/hcid/auth-agent.c index 6ca07ff1..f8bcaf07 100644 --- a/hcid/auth-agent.c +++ b/hcid/auth-agent.c @@ -72,7 +72,6 @@ static DBusHandlerResult authorize_message(DBusConnection *conn, DBusMessage *msg, void *data) { DBusMessage *reply; - dbus_bool_t result = TRUE; if (!dbus_message_get_args(msg, NULL, DBUS_TYPE_INVALID)) { fprintf(stderr, "Invalid arguments for Authorize method"); @@ -85,8 +84,7 @@ static DBusHandlerResult authorize_message(DBusConnection *conn, return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } - dbus_message_append_args(reply, DBUS_TYPE_BOOLEAN, &result, - DBUS_TYPE_INVALID); + dbus_message_append_args(reply, DBUS_TYPE_INVALID); dbus_connection_send(conn, reply, NULL); |