_dbus_header_byteswap: change the first byte of the message, not just the struct...
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 10 Jun 2011 17:57:42 +0000 (18:57 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 10 Jun 2011 17:57:42 +0000 (18:57 +0100)
commit6519a1f77c61d753d4c97efd6e15630eb275336e
tree816d13406ac63588c20a544a5b4615ae091bb9b2
parent4df3e187b482a2bf2230c36c4b1c7bc4d439d51a
_dbus_header_byteswap: change the first byte of the message, not just the struct member

This has been wrong approximately forever, for instance see:
http://lists.freedesktop.org/archives/dbus/2007-March/007357.html

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38120
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=629938
Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
Backported: from dbus-1.4, c3223ba6c401ba81df1305851312a47c485e6cd7
NEWS
dbus/dbus-marshal-header.c