Mercurial > pidgin.yaz
diff src/protocols/rendezvous/mdns_cache.c @ 8840:01c3db200c8f
[gaim-migrate @ 9607]
Some good rendezvous fixes. Now if I could just find out why iTunes
complains that it can't access my mp3 server when I sign on with Gaim...
And 0 is a valid file descriptor.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 28 Apr 2004 04:38:12 +0000 |
parents | beb7be215db3 |
children | ad3633f92f91 |
line wrap: on
line diff
--- a/src/protocols/rendezvous/mdns_cache.c Wed Apr 28 03:57:42 2004 +0000 +++ b/src/protocols/rendezvous/mdns_cache.c Wed Apr 28 04:38:12 2004 +0000 @@ -84,6 +84,7 @@ mdns_cache_remove_all() { mdns_free_rrs(rrs); + rrs = NULL; } void @@ -97,9 +98,9 @@ for (slist = rrs; slist != NULL; slist = slist->next) { cur = slist->data; - if ((q->type == cur->type) && (!strcmp(q->name, cur->name))) { + if (((q->type == RENDEZVOUS_RRTYPE_ALL) || (q->type == cur->type)) && (!strcmp(q->name, cur->name))) { printf("responding to cur->type=%d, cur->name=%s\n", cur->type, cur->name); - //mdns_send_rr(fd, cur); + mdns_send_rr(fd, cur); } } }