_dbus_header_byteswap: change the first byte of the message, not just the struct...
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 9 Jun 2011 16:52:10 +0000 (17:52 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 10 Jun 2011 17:09:41 +0000 (18:09 +0100)
commitc3223ba6c401ba81df1305851312a47c485e6cd7
tree93476987c2ef46d431a95f2dea5a351328e6f274
parent50732523a78254b28fad9427c91f774292de69cd
_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>
dbus/dbus-marshal-header.c