Bugfix: The fixed-length part needs two iovecs reserved, just like all the other...
authorJamey Sharp <jamey@minilop.net>
Fri, 3 Mar 2006 07:12:21 +0000 (23:12 -0800)
committerJamey Sharp <jamey@minilop.net>
Fri, 3 Mar 2006 07:12:21 +0000 (23:12 -0800)
src/c-client.xsl

index 45e2cfe..568e46c 100644 (file)
@@ -567,7 +567,7 @@ authorization from the authors.
     <xsl:variable name="struct"
                   select="$pass1/xcb/struct[@name=current()/@ref]" />
 
-    <xsl:variable name="num-parts" select="1+count($struct/list)*2" />
+    <xsl:variable name="num-parts" select="(1+count($struct/list))*2" />
 
     <l>static const XCBProtocolRequest xcb_req = {</l>
     <indent>