From 433ff8027d32bc856b7da5d227bc711d99c5290d Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Mon, 12 May 2014 04:55:52 +0000 Subject: Fix a comment (No functional changes). --- packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packet.go b/packet.go index 7a6b3fb..98ce426 100644 --- a/packet.go +++ b/packet.go @@ -54,7 +54,7 @@ func (e InvalidPacketLengthError) Error() string { return fmt.Sprintf("packet: Invalid packet length: %d", int(e)) } -// InvalidPacketLengthError is the error returned when decodePacket rejects the +// InvalidPayloadLengthError is the error returned when decodePacket rejects the // payload length. type InvalidPayloadLengthError int -- cgit v1.2.3