diff --git a/lib/modules/Protocols.pmod/DNS_SD.pmod b/lib/modules/Protocols.pmod/DNS_SD.pmod index 73ebbdace2a6f2b9d02b2212e946916c1fe0beab..784c950e86df114e1ade09d811842e8087efd254 100644 --- a/lib/modules/Protocols.pmod/DNS_SD.pmod +++ b/lib/modules/Protocols.pmod/DNS_SD.pmod @@ -48,7 +48,7 @@ class Service { txt_flat = ""; foreach(txt, string entry) { entry = clip_utf8_str(entry, 255); - txt_flat += sprintf("%c%s", (int) strlen(entry), entry); + txt_flat += sprintf("%1H", entry); } } return txt_flat;