summaryrefslogtreecommitdiff
path: root/gdbus/object.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2012-05-18 17:30:13 -0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-18 15:02:37 -0700
commitbb411f47ec30cb02edb4c13f15f14d76a3c1103c (patch)
tree4ff67f026ab1a5fc26852b72631abc8af99efb98 /gdbus/object.c
parent6470021c2a399565d83f5085116b556fdd5a0339 (diff)
downloadconnman-bb411f47ec30cb02edb4c13f15f14d76a3c1103c.tar.gz
connman-bb411f47ec30cb02edb4c13f15f14d76a3c1103c.tar.bz2
connman-bb411f47ec30cb02edb4c13f15f14d76a3c1103c.zip
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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdbus/object.c b/gdbus/object.c
index dacbe587..2dd7c0e2 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));