Formatting and 80 cols.

This commit is contained in:
Andrew Gallant
2014-05-10 11:41:51 -04:00
committed by Přemysl Janouch
parent a548d9d0f7
commit ef8155bf17
3 changed files with 11 additions and 19 deletions

View File

@@ -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())