summaryrefslogtreecommitdiff
path: root/xgbgen/go_request_reply.go
diff options
context:
space:
mode:
authorAndrew Gallant <[email protected]>2014-05-10 11:41:51 -0400
committerAndrew Gallant <[email protected]>2014-05-10 11:41:51 -0400
commiteabb7feb995f0d542f1972909a69f4ab02c8f210 (patch)
treed121f3393b49077b8c5684025cc76be9aa88a41a /xgbgen/go_request_reply.go
parentcdbc8241c4be92fd4fbb6b7b819e84dce4a06850 (diff)
Formatting and 80 cols.
Diffstat (limited to 'xgbgen/go_request_reply.go')
-rw-r--r--xgbgen/go_request_reply.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/xgbgen/go_request_reply.go b/xgbgen/go_request_reply.go
index d82e157..c1b9ee9 100644
--- a/xgbgen/go_request_reply.go
+++ b/xgbgen/go_request_reply.go
@@ -155,7 +155,8 @@ func (r *Request) WriteRequest(c *Context) {
return
}
c.Putln("b = xgb.Pad(b)")
- c.Putln("xgb.Put16(buf[blen:], uint16(b / 4)) // write request size in 4-byte units")
+ c.Putln("xgb.Put16(buf[blen:], uint16(b / 4)) " +
+ "// write request size in 4-byte units")
c.Putln("return buf[:b]")
}
c.Putln("// Write request to wire for %s", r.SrcName())