aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeroconf-bonjour.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zeroconf-bonjour.c')
-rw-r--r--src/zeroconf-bonjour.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zeroconf-bonjour.c b/src/zeroconf-bonjour.c
index 4e06319e7..6ad2a2bac 100644
--- a/src/zeroconf-bonjour.c
+++ b/src/zeroconf-bonjour.c
@@ -62,7 +62,7 @@ void init_zeroconf_osx(const char *serviceName)
DNSServiceErrorType error = DNSServiceRegister(&dnsReference,
0, 0, serviceName,
SERVICE_TYPE, NULL, NULL,
- htons(listen_port), 0,
+ g_htons(listen_port), 0,
NULL,
dnsRegisterCallback,
NULL);