increase size

This commit is contained in:
Zack Scholl 2018-09-26 06:53:46 -07:00
parent ae13f82c9e
commit 1a7b123519

View File

@ -33,7 +33,7 @@ func (c Comm) Close() {
}
func (c Comm) Write(b []byte) (int, error) {
c.connection.Write([]byte(fmt.Sprintf("%0.7d", len(b))))
c.connection.Write([]byte(fmt.Sprintf("%0.8d", len(b))))
n, err := c.connection.Write(b)
if n != len(b) {
err = fmt.Errorf("wanted to write %d but wrote %d", n, len(b))