mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Fix: typo (#287)
This commit is contained in:
parent
9e0bd62790
commit
9875f8ea6e
|
@ -107,7 +107,7 @@ func (p *Proxy) DelayHistory() []C.DelayHistory {
|
|||
return histories
|
||||
}
|
||||
|
||||
// LastDelay return last history record. if proxy is not alive, return the max value of int16.
|
||||
// LastDelay return last history record. if proxy is not alive, return the max value of uint16.
|
||||
func (p *Proxy) LastDelay() (delay uint16) {
|
||||
var max uint16 = 0xffff
|
||||
if !p.alive {
|
||||
|
|
Loading…
Reference in New Issue
Block a user