From 5990aeb7198a4961a363eeb422a3faa57c8dc029 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Tue, 6 Dec 2016 23:17:16 +0100 Subject: revision based on goreportcard.com --- plumbing/format/pktline/scanner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plumbing/format/pktline') diff --git a/plumbing/format/pktline/scanner.go b/plumbing/format/pktline/scanner.go index 4eec18c..4af254f 100644 --- a/plumbing/format/pktline/scanner.go +++ b/plumbing/format/pktline/scanner.go @@ -77,7 +77,7 @@ func (s *Scanner) Bytes() []byte { } // Method readPayloadLen returns the payload length by reading the -// pkt-len and substracting the pkt-len size. +// pkt-len and subtracting the pkt-len size. func (s *Scanner) readPayloadLen() (int, error) { if _, err := io.ReadFull(s.r, s.len[:]); err != nil { if err == io.ErrUnexpectedEOF { -- cgit