Correct the length calculation for the value field of GetPropertyReply.
authorEamon Walsh <ewalsh@tycho.nsa.gov>
Wed, 8 Apr 2009 03:56:33 +0000 (23:56 -0400)
committerEamon Walsh <ewalsh@tycho.nsa.gov>
Wed, 8 Apr 2009 03:56:33 +0000 (23:56 -0400)
commitfe7b12db4fc0e95f3eef038581bf2154e1727c7a
treeb0df14cc5204567ee2c7db883f41f7bf4107c9be
parent4d9e8c51ea03546592fde23dd4304effd27f359d
Correct the length calculation for the value field of GetPropertyReply.

value_len only contains the number of data units, which are 1, 2, or 4
bytes depending on the value of the format field.  The length of the
value field is thus value_len multiplied by the bytes per unit,
which is format / 8.

Signed-off-by: Eamon Walsh <ewalsh@tycho.nsa.gov>
src/xproto.xml