diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-03-02 23:12:21 -0800 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-03-02 23:12:21 -0800 |
commit | 45e1cc0935ca1d7a138e1c700db229f50205a556 (patch) | |
tree | 2cea85421a30059bd842ee966acf727e8fbd84c9 /src/c-client.xsl | |
parent | b46953f46c7d0fd8cbb73f922524968c1ac86fa4 (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.xsl | 2 |
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> |