summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-08-16 21:28:47 +0000
committerHavoc Pennington <hp@redhat.com>2003-08-16 21:28:47 +0000
commit7c3693a53b4eba0db1aebe1edab5ded21eb7757f (patch)
treefa5f476e43ac8214a9a980cbff4e7f0e61fc8eb8 /dbus
parenta1b0bd33408f03894987ac32b4e6b46c6a15a594 (diff)
2003-08-16 Havoc Pennington <hp@pobox.com>
* dbus/dbus-object-registry.c (add_and_remove_objects): remove broken assertion * glib/dbus-gproxy.c: some hacking
Diffstat (limited to 'dbus')
-rw-r--r--dbus/dbus-message.c4
-rw-r--r--dbus/dbus-object-registry.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c
index 8f25e076..5f3d01e0 100644
--- a/dbus/dbus-message.c
+++ b/dbus/dbus-message.c
@@ -4471,6 +4471,10 @@ _dbus_message_loader_return_buffer (DBusMessageLoader *loader,
* @todo we need to check that the proper named header fields exist
* for each message type.
*
+ * @todo If a message has unknown type, we should probably eat it
+ * right here rather than passing it out to applications. However
+ * it's not an error to see messages of unknown type.
+ *
* @param loader the loader.
* @returns #TRUE if we had enough memory to finish.
*/
diff --git a/dbus/dbus-object-registry.c b/dbus/dbus-object-registry.c
index f1aa27de..d3d175d8 100644
--- a/dbus/dbus-object-registry.c
+++ b/dbus/dbus-object-registry.c
@@ -1274,7 +1274,6 @@ add_and_remove_objects (DBusObjectRegistry *registry)
interfaces = three_interfaces;
break;
}
- _dbus_assert (interfaces != NULL);
if (!_dbus_object_registry_add_and_unlock (registry,
interfaces,