mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-05 10:39:14 -04:00
remove use of 'v' as a variable name
This commit is contained in:
@@ -219,13 +219,13 @@ func (this *SendingWorker) ProcessReceivingNextWithoutLock(nextNumber uint32) {
|
||||
|
||||
// Private: Visible for testing.
|
||||
func (this *SendingWorker) FindFirstUnacknowledged() {
|
||||
v := this.firstUnacknowledged
|
||||
first := this.firstUnacknowledged
|
||||
if !this.window.IsEmpty() {
|
||||
this.firstUnacknowledged = this.window.FirstNumber()
|
||||
} else {
|
||||
this.firstUnacknowledged = this.nextNumber
|
||||
}
|
||||
if v != this.firstUnacknowledged {
|
||||
if first != this.firstUnacknowledged {
|
||||
this.firstUnacknowledgedUpdated = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user