run misspell in gometalinter

This commit is contained in:
Marten Seemann
2018-02-21 15:48:01 +08:00
parent b6c41464c6
commit 11af98e338
21 changed files with 23 additions and 22 deletions

View File

@@ -56,7 +56,7 @@ func ParseStreamFrame(r *bytes.Reader, version protocol.VersionNumber) (*StreamF
if err != nil {
return nil, err
}
// shortcut to prevent the unneccessary allocation of dataLen bytes
// shortcut to prevent the unnecessary allocation of dataLen bytes
// if the dataLen is larger than the remaining length of the packet
// reading the packet contents would result in EOF when attempting to READ
if dataLen > uint64(r.Len()) {