Fix some broken TRACEs and a tiny reorder in a few ifs.
This commit is contained in:
parent
2b3e1d5c10
commit
284e5d83b5
2 changed files with 5 additions and 5 deletions
|
@ -191,10 +191,10 @@ private:
|
|||
unsigned long i = ZT_RX_QUEUE_SIZE;
|
||||
while (i) {
|
||||
rq = &(_rxQueue[--i]);
|
||||
if (rq->timestamp < oldest->timestamp)
|
||||
oldest = rq;
|
||||
if ((rq->packetId == packetId)&&(rq->timestamp))
|
||||
return rq;
|
||||
if (rq->timestamp < oldest->timestamp)
|
||||
oldest = rq;
|
||||
}
|
||||
return oldest;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue