mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 09:18:34 +00:00
Chore: Fix some spelling errors (#3976)
This commit is contained in:
parent
afc7ec5506
commit
71cfea8aae
10 changed files with 13 additions and 13 deletions
|
@ -568,7 +568,7 @@ func (c *REALITYConfig) Build() (proto.Message, error) {
|
|||
return nil, errors.New(`invalid "minClientVer": `, c.MinClientVer)
|
||||
}
|
||||
if u, err = strconv.ParseUint(s, 10, 8); err != nil {
|
||||
return nil, errors.New(`"minClientVer[`, i, `]" should be lesser than 256`)
|
||||
return nil, errors.New(`"minClientVer[`, i, `]" should be less than 256`)
|
||||
} else {
|
||||
config.MinClientVer[i] = byte(u)
|
||||
}
|
||||
|
@ -582,7 +582,7 @@ func (c *REALITYConfig) Build() (proto.Message, error) {
|
|||
return nil, errors.New(`invalid "maxClientVer": `, c.MaxClientVer)
|
||||
}
|
||||
if u, err = strconv.ParseUint(s, 10, 8); err != nil {
|
||||
return nil, errors.New(`"maxClientVer[`, i, `]" should be lesser than 256`)
|
||||
return nil, errors.New(`"maxClientVer[`, i, `]" should be less than 256`)
|
||||
} else {
|
||||
config.MaxClientVer[i] = byte(u)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue