mirror of
https://github.com/lionsoul2014/ip2region.git
synced 2025-12-08 19:25:22 +00:00
Update maker.go
correct spelling of comments
This commit is contained in:
parent
78f4794926
commit
e68c497936
@ -240,7 +240,7 @@ func (m *Maker) Start() error {
|
|||||||
|
|
||||||
var region = []byte(seg.Region)
|
var region = []byte(seg.Region)
|
||||||
if len(region) > 0xFFFF {
|
if len(region) > 0xFFFF {
|
||||||
return fmt.Errorf("too long region info `%s`: shoul be less than %d bytes", seg.Region, 0xFFFF)
|
return fmt.Errorf("too long region info `%s`: should be less than %d bytes", seg.Region, 0xFFFF)
|
||||||
}
|
}
|
||||||
|
|
||||||
// get the first ptr of the next region
|
// get the first ptr of the next region
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user