mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
- This keeps the port name aligned with the project name Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D18959
11 lines
342 B
Python
11 lines
342 B
Python
--- pybonjour.py.orig 2013-10-02 17:41:05 UTC
|
|
+++ pybonjour.py
|
|
@@ -1116,7 +1116,7 @@ def DNSServiceRegister(
|
|
type=type(txtRecord)))
|
|
|
|
if not txtRecord:
|
|
- txtLen, txtRecord = 1, '\0'
|
|
+ txtLen, txtRecord = 1, '\0'.encode('utf-8')
|
|
else:
|
|
txtLen, txtRecord = _string_to_length_and_void_p(txtRecord)
|
|
|