[xpcom] STRUCT containers should be opened with NULL signature
authorKalle Vahlman <kalle.vahlman@movial.com>
Thu, 27 Aug 2009 06:12:17 +0000 (09:12 +0300)
committerKalle Vahlman <kalle.vahlman@movial.com>
Thu, 27 Aug 2009 06:12:17 +0000 (09:12 +0300)
xpcom-dbusservice/DBusMarshaling.cpp

index 48e9fb4..23bbda2 100644 (file)
@@ -606,7 +606,7 @@ addVariantToIter(JSContext* cx, nsIVariant *aVariant, DBusMessageIter *aIter, DB
         char *signature = dbus_signature_iter_get_signature(aSigIter);
         DBusMessageIter structIter;
         dbus_message_iter_open_container(aIter, DBUS_TYPE_STRUCT,
-                                         signature, &structIter);
+                                         NULL, &structIter);
         BDBLOG(("  struct sig: %s\n", signature));
         dbus_free(signature);