mirror of https://github.com/grpc/grpc-go.git
Fix variable name in comment
This commit is contained in:
parent
20ed1e924e
commit
cbdc43cf9a
|
|
@ -183,7 +183,7 @@ func encode(c Codec, msg interface{}, pf payloadFormat) ([]byte, error) {
|
|||
|
||||
// Write payload format
|
||||
buf[0] = byte(pf)
|
||||
// Write length of msg into buf
|
||||
// Write length of b into buf
|
||||
binary.BigEndian.PutUint32(buf[1:], length)
|
||||
// Copy encoded msg to buf
|
||||
copy(buf[5:], b)
|
||||
|
|
|
|||
Loading…
Reference in New Issue