diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-06 17:10:40 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-07 22:58:32 +0200 |
commit | 696c18c48f9648274c375a77a70a45f5f31053fb (patch) | |
tree | f5112863031a8c12727c8d9a8014fb0d35de952d /network | |
parent | 1e35abda9f9ad4510d19da6c14b1a50d6dc02c7d (diff) |
Create btd_error_invalid_args()
DBus error handling in BlueZ is a mess. This is the first patch to unify
all DBus error handling like in ConnMan and oFono. This unifies all
.InvalidArguments errors.
Diffstat (limited to 'network')
-rw-r--r-- | network/server.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/network/server.c b/network/server.c index bb119ce46..33da06d48 100644 --- a/network/server.c +++ b/network/server.c @@ -573,13 +573,6 @@ static inline DBusMessage *failed(DBusMessage *msg, const char *description) "%s", description); } -static inline DBusMessage *invalid_arguments(DBusMessage *msg, - const char *description) -{ - return g_dbus_create_error(msg, ERROR_INTERFACE ".InvalidArguments", - "%s", description); -} - static void server_disconnect(DBusConnection *conn, void *user_data) { struct network_server *ns = user_data; |