Problems with named types
Wed, 23 Jul 2003 11:11:47 -0400
On Tue, Jul 22, 2003 at 12:18:37AM -0400, Andy Hanton wrote:
> I am trying to write a program using dbus and I'm having problems with
> the named type. dbus_message_iter_get_named fails it the length of the
> type name is one less than a multiple of four.
> dbus_message_iter_get_named adds one to the offset that is returned by
> _dbus_demarshal_string, causing _dbus_demarshal_byte_array to round the
> offset up unnecessarily and read the length of the array from the wrong
Thanks, this patch looks clearly correct. I've added it to CVS now.