From 74402496b07134808504ef5a45ae83d23f07cda9 Mon Sep 17 00:00:00 2001 From: morixhub Date: Wed, 1 Jul 2020 15:13:04 +0200 Subject: [PATCH] Fixed handling of TXT records longer than 127 bytes --- bonjour.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonjour.cpp b/bonjour.cpp index f4b6bc0..5bfa09f 100644 --- a/bonjour.cpp +++ b/bonjour.cpp @@ -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];