add
This commit is contained in:
parent
14315b85ab
commit
a2f409453b
@ -189,7 +189,7 @@ func (fm *FrameMgr) addToRecvWin(rf *Frame) {
|
|||||||
|
|
||||||
for e := fm.recvwin.Front(); e != nil; e = e.Next() {
|
for e := fm.recvwin.Front(); e != nil; e = e.Next() {
|
||||||
f := e.Value.(*Frame)
|
f := e.Value.(*Frame)
|
||||||
if rf.Id < f.Id {
|
if rf.Id > (int32)(fm.recvid) && rf.Id < f.Id {
|
||||||
fm.recvwin.InsertBefore(rf, e)
|
fm.recvwin.InsertBefore(rf, e)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user