1
0
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:
Darien Raymond
2016-11-27 17:01:44 +01:00
parent 77e1427845
commit d00f8eef56
12 changed files with 45 additions and 45 deletions

View File

@@ -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
}
}