summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent W. Chen <noodlewiz@gmail.com>2014-04-09 18:48:56 -0700
committerPeter Harris <pharris@opentext.com>2014-04-11 17:50:10 -0400
commit70fea02b7d90d86e9d3b0dc5b61406bf4c910999 (patch)
tree0a0596b0d5ecd815bf078aedf6228b4e7bdd0cd2
parenta37c762e33fd4005623f4c6751954d7fc94d46e2 (diff)
downloadxcb-proto-70fea02b7d90d86e9d3b0dc5b61406bf4c910999.tar.gz
xprint: Fix <field type="STRING8"> in PrintGetAttributes reply
The reply for PrintGetAttributes contains a field of type STRING8, which makes no sense as the STRING8 type is only used to denote a string. This has been changed to <list type="STRING8"> with field "stringLen" as its length. Reviewed-by: Peter Harris <pharris@opentext.com>
-rw-r--r--src/xprint.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xprint.xml b/src/xprint.xml
index ffd8df1..e32293f 100644
--- a/src/xprint.xml
+++ b/src/xprint.xml
@@ -235,7 +235,9 @@ authorization from the authors.
<pad bytes="1" />
<field type="CARD32" name="stringLen" />
<pad bytes="20" />
- <field type="STRING8" name="attributes" />
+ <list type="STRING8" name="attributes">
+ <fieldref>stringLen</fieldref>
+ </list>
</reply>
</request>