projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e400426
)
gdbus: do not check signature twice
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Sun, 20 May 2012 05:07:36 +0000
(
02:07
-0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 20 May 2012 09:47:57 +0000
(
02:47
-0700)
Message signature is already checked in generic_message(), so there's no
need to check again in the callback.
gdbus/object.c
patch
|
blob
|
history
diff --git
a/gdbus/object.c
b/gdbus/object.c
index
dacbe58
..
2dd7c0e
100644
(file)
--- 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));