summaryrefslogtreecommitdiff
path: root/src/c-client.xsl
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-03-02 23:12:21 -0800
committerJamey Sharp <jamey@minilop.net>2006-03-02 23:12:21 -0800
commit45e1cc0935ca1d7a138e1c700db229f50205a556 (patch)
tree2cea85421a30059bd842ee966acf727e8fbd84c9 /src/c-client.xsl
parentb46953f46c7d0fd8cbb73f922524968c1ac86fa4 (diff)
Bugfix: The fixed-length part needs two iovecs reserved, just like all the other parts.
Diffstat (limited to 'src/c-client.xsl')
-rw-r--r--src/c-client.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c-client.xsl b/src/c-client.xsl
index 45e2cfe..568e46c 100644
--- a/src/c-client.xsl
+++ b/src/c-client.xsl
@@ -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>