Skip to contentSkip to conversation

cld: kill .known

PATCH In review Pete Zaitcev 1 participant 1 message Aug 8, 2009 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 cld: kill .known

This phase 2 of operation "return array management paraphernalia where arrays are". The Chunk and Tabled were updated previously.

N.B. This is a flag day for dependent applications, but since headers and library come in one package, there should be no disruption.

include/cldc.h +0 -1
index 8bc8295..491ec36 100644
@@ -117,7 +117,6 @@ struct cldc_session {
 
 /** Information for a single CLD server host */
 struct cldc_host {
-	int		known;
 	unsigned int	prio;
 	unsigned int	weight;
 	char		*host;
lib/cldc-dns.c +0 -2
index eae24b0..8f8984b 100644
@@ -263,8 +263,6 @@ do_try_again:
 					  rc, hostb, verbose, act_log))
 				break;
 
-			hp.known = 1;
-
 			push_host(host_list, &hp);
 			break;
 		case ns_t_cname:	/* impossible, but */