Fix silly bug in retransmit code

merge-requests/7/head
Phil Taylor 2021-11-18 14:09:09 +00:00
rodzic cc2f2b2576
commit 62771f6b59
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1138,7 +1138,7 @@ void udpBase::dataReceived(QByteArray r)
if (match == txSeqBuf.end()) {
qDebug(logUdp()) << this->metaObject()->className() << ": Requested packet " << hex << seq << " not found";
// Just send idle packet.
sendControl(false, 0, match->seqNum);
sendControl(false, 0, seq);
}
else {
// Found matching entry?