Fix ChangeHosts address string
authorRobert Ancell <robert.ancell@gmail.com>
Wed, 11 Jan 2012 16:03:47 +0000 (17:03 +0100)
committerJulien Danjou <julien@danjou.info>
Wed, 11 Jan 2012 16:03:47 +0000 (17:03 +0100)
ChangeHosts incorrectly encodes address as a string, not a binary blob. It
should be the same as in the HOSTS structure.

Fixes #43604

Signed-off-by: Julien Danjou <julien@danjou.info>
src/xproto.xml

index cbb5fa2..7b307b7 100644 (file)
@@ -2295,7 +2295,7 @@ authorization from the authors.
     <field type="CARD8" name="family" enum="Family" />
     <pad bytes="1" />
     <field type="CARD16" name="address_len" />
-    <list type="char" name="address">
+    <list type="BYTE" name="address">
       <fieldref>address_len</fieldref>
     </list>
   </request>