diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-05-18 15:32:08 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-05-18 11:49:12 -0700 |
commit | 5009ba332ba39f84d749b782a31455068a6a2d9c (patch) | |
tree | 80e4f8431a1996e8f85537a66196ebe0388427c6 /gdbus/object.c | |
parent | 4569b5750b664973dd3f029c5cbbd0109d8d4282 (diff) | |
download | obexd-5009ba332ba39f84d749b782a31455068a6a2d9c.tar.gz |
gdbus: do not check signature twice
Message signature is already checked in generic_message(), so there's no
need to check again in the callback.
Diffstat (limited to 'gdbus/object.c')
-rw-r--r-- | gdbus/object.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdbus/object.c b/gdbus/object.c index dacbe58..2dd7c0e 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -174,11 +174,6 @@ static DBusMessage *introspect(DBusConnection *connection, struct generic_data *data = user_data; DBusMessage *reply; - if (!dbus_message_has_signature(message, DBUS_TYPE_INVALID_AS_STRING)) { - error("Unexpected signature to introspect call"); - return NULL; - } - if (data->introspect == NULL) generate_introspection_xml(connection, data, dbus_message_get_path(message)); |