src/protocols/rendezvous/mdns_cache.c

changeset 8842
db3fa3ae3c19
parent 8840
414e20c7c010
child 9944
71ef020ec4b0
--- a/src/protocols/rendezvous/mdns_cache.c	Wed Apr 28 05:14:20 2004 +0000
+++ b/src/protocols/rendezvous/mdns_cache.c	Thu Apr 29 02:42:31 2004 +0000
@@ -24,7 +24,6 @@
  */
 
 #include "internal.h"
-#include "debug.h"
 
 #include "mdns.h"
 #include "mdns_cache.h"
@@ -59,7 +58,6 @@
 
 	mdns_cache_remove(rr->name, rr->type);
 
-	printf("caching %d\n", rr->type);
 	new = mdns_copy_rr(rr);
 	rrs = g_slist_prepend(rrs, new);
 }
@@ -94,12 +92,10 @@
 	ResourceRecord *cur;
 
 	g_return_if_fail(q != NULL);
-	printf("query for q->type=%d, q->name=%s\n", q->type, q->name);
 
 	for (slist = rrs; slist != NULL; slist = slist->next) {
 		cur = slist->data;
 		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);
 		}
 	}

mercurial