diff src/protocols/rendezvous/mdns.c @ 10549:8bc7ba019e96

[gaim-migrate @ 11919] This should make rendezvous compile again. It's back to being able to somewhat sign on and see other people. Still nowhere near being able to message. I think I want to work on messaging, then maybe come back and look into using a third party lib or maybe just an external mDNS server for presence. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 27 Jan 2005 05:28:08 +0000
parents 782c1b564906
children 913ec44675c3
line wrap: on
line diff
--- a/src/protocols/rendezvous/mdns.c	Thu Jan 27 05:24:26 2005 +0000
+++ b/src/protocols/rendezvous/mdns.c	Thu Jan 27 05:28:08 2005 +0000
@@ -277,7 +277,6 @@
 	return ret;
 }
 
-#if 0
 ResourceRecord *
 mdns_copy_rr(const ResourceRecord *rr)
 {
@@ -297,6 +296,7 @@
 	return ret;
 }
 
+#if 0
 static GSList *
 mdns_copy_rrs(const GSList *rrs)
 {
@@ -367,6 +367,7 @@
 	addr.sin_addr.s_addr = INADDR_ANY;
 	if (bind(fd, (struct sockaddr *)&addr, sizeof(struct sockaddr_in)) < 0) {
 		gaim_debug_error("mdns", "Unable to bind socket to interface.\n");
+		gaim_debug_error("mdns", "%s\n", strerror(errno));
 		close(fd);
 		return -1;
 	}