blob: 9f5c06260b127377ae6217b332c89bff1f9ae846 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- mDNSResponder/mDNSShared/dnssd_clientstub.c.orig 2015-11-30 16:36:08.081554188 +0100
+++ mDNSResponder/mDNSShared/dnssd_clientstub.c 2015-11-30 16:38:35.749542735 +0100
@@ -579,7 +579,12 @@
else
{
syslog(LOG_WARNING, "dnssd_clientstub ConnectToServer: connect() failed path:%s Socket:%d Err:%d Errno:%d %s",
- uds_serverpath, sdr->sockfd, err, dnssd_errno, dnssd_strerror(dnssd_errno));
+#if defined(USE_TCP_LOOPBACK)
+ MDNS_TCP_SERVERADDR,
+#else
+ uds_serverpath,
+#endif
+ sdr->sockfd, err, dnssd_errno, dnssd_strerror(dnssd_errno));
dnssd_close(sdr->sockfd);
FreeDNSServiceOp(sdr);
return kDNSServiceErr_ServiceNotRunning;
|