diff --git a/src/comm/comm.go b/src/comm/comm.go index d3073be..d790f7d 100644 --- a/src/comm/comm.go +++ b/src/comm/comm.go @@ -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))