summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2016-05-20 19:13:34 -0400
committerPeter Harris <pharris@opentext.com>2016-06-02 10:31:16 -0400
commitf7948e355d85624c577d0fa63977b3bed4d6024f (patch)
tree12469e4f72f5c19cf0b816ca2f4582788b480080
parentbea5e1c85bdc0950913790364e18228f20395a3d (diff)
res: Fix QueryClientIds reply size
The specification disagrees with itself, so use the part of the specification that matches the other implementations. Reviewed-by: Ran Benita <ran234@gmail.com> Signed-off-by: Peter Harris <pharris@opentext.com>
-rw-r--r--src/res.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/res.xml b/src/res.xml
index 17e6f83..be32ca1 100644
--- a/src/res.xml
+++ b/src/res.xml
@@ -55,7 +55,15 @@ authorization from the authors.
<field type="ClientIdSpec" name="spec" />
<field type="CARD32" name="length" />
<list type="CARD32" name="value">
- <fieldref>length</fieldref>
+ <!-- The specification says that the length is in units of CARD32,
+ but the specification also says that the length is 4 when a
+ single LocalClientPid is present (ie. the length is in bytes).
+ The current server implementation sets the length to 4 when a
+ single CARD32 is present on the wire (length is in bytes). -->
+ <op op="/">
+ <fieldref>length</fieldref>
+ <value>4</value>
+ </op>
</list>
</struct>