17 lines
818 B
Groff
17 lines
818 B
Groff
|
--- 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;
|