Fixed handling of TXT records longer than 127 bytes

This commit is contained in:
morixhub
2020-07-01 15:13:04 +02:00
committed by Jonathan Bagg
parent 31fc8e5c72
commit 74402496b0

View File

@ -161,7 +161,7 @@ void DNSSD_API QZeroConfPrivate::resolverCallback(DNSServiceRef, DNSServiceFlags
return;
}
qint16 recLen;
uchar recLen;
while (txtLen > 0) // add txt records
{
recLen = txtRecord[0];