Fix some broken TRACEs and a tiny reorder in a few ifs.

This commit is contained in:
Adam Ierymenko 2016-03-28 12:15:24 -07:00
parent 2b3e1d5c10
commit 284e5d83b5
2 changed files with 5 additions and 5 deletions

View file

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