diff options
author | Daniel Stone <daniels@collabora.com> | 2014-03-03 11:57:54 +0000 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2014-03-03 11:57:54 +0000 |
commit | 914b5ea0ab2392278bcc417f88a9026faf2d006d (patch) | |
tree | 02704b695999660bf5c4e593829314fed943b8ea | |
parent | 73c82c6b983e39e24f49c2c794d654bd349309d3 (diff) |
xscope: Fix unknown GenericEvent type decoding
Transposed parameters meant that it was printing the sequence number
rather than the type.
Signed-off-by: Daniel Stone <daniels@collabora.com>
-rw-r--r-- | print11.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -835,7 +835,7 @@ UnknownGenericEvent(const unsigned char *buf) PrintField(buf, 1, 1, EXTENSION, "extension"); printfield(buf, 2, 2, CARD16, "sequence number"); printfield(buf, 4, 4, DVALUE4(n), "event length"); - PrintField(buf, 2, 8, CARD16, "event type"); + PrintField(buf, 8, 2, CARD16, "event type"); n = ILong(&buf[4]) + 5; (void) PrintList(&buf[12], n, CARD32, "data"); |