aboutsummaryrefslogtreecommitdiffstats
path: root/pktline/decoder.go
diff options
context:
space:
mode:
authorCarlos Cobo <toqueteos@gmail.com>2015-05-20 13:46:57 +0200
committerCarlos Cobo <toqueteos@gmail.com>2015-05-20 13:46:57 +0200
commitc2bbf9fe8009b22d0f390f3c8c3f13937067590f (patch)
tree2beff7231ec6c80e4d07dd78ba8e6be14309f6b0 /pktline/decoder.go
parentfc9f0643b21cfe571046e27e0c4565f3a1ee96c8 (diff)
downloadgo-git-c2bbf9fe8009b22d0f390f3c8c3f13937067590f.tar.gz
Fix typos.
Diffstat (limited to 'pktline/decoder.go')
-rw-r--r--pktline/decoder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pktline/decoder.go b/pktline/decoder.go
index 194a3e6..db3fd72 100644
--- a/pktline/decoder.go
+++ b/pktline/decoder.go
@@ -7,7 +7,7 @@ import (
)
var (
- ErrUnderflow = errors.New("unexepected string length")
+ ErrUnderflow = errors.New("unexpected string length (underflow)")
ErrInvalidHeader = errors.New("invalid header")
ErrInvalidLen = errors.New("invalid length")
)