summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2014-05-12 04:55:52 +0000
committerYawning Angel <yawning@schwanenlied.me>2014-05-12 04:55:52 +0000
commit433ff8027d32bc856b7da5d227bc711d99c5290d (patch)
treea58cb2c76405f4c3aecac86e5570906f1a257526
parent9712aec73b2b483a4426ca670ee208b44ad1bc25 (diff)
Fix a comment (No functional changes).
-rw-r--r--packet.go2
1 files changed, 1 insertions, 1 deletions
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