vhost: typo fix

This commit is contained in:
fatedier 2018-03-21 18:06:43 +08:00
parent 3166bdf3f0
commit 82dc1e924f
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ func readHandshake(rd io.Reader) (host string, err error) {
return
}
if len(data) < 2 {
err = fmt.Errorf("readHandshake: extension dataLen[%d] is too short")
err = fmt.Errorf("readHandshake: extension dataLen[%d] is too short", len(data))
return
}