mirror of
https://github.com/fatedier/frp.git
synced 2024-12-12 17:50:51 +01:00
vhost: typo fix
This commit is contained in:
parent
3166bdf3f0
commit
82dc1e924f
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user