From: Miek Gieben Date: Tue, 14 Jun 2005 13:51:13 +0000 (+0000) Subject: remove uncommented code X-Git-Tag: release-0.66~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dc6a1cd833e26ae97f86fcb255874018cf87948;p=thirdparty%2Fldns.git remove uncommented code --- diff --git a/Changelog b/Changelog index 8f77a5ad..100a64eb 100644 --- a/Changelog +++ b/Changelog @@ -1,7 +1,7 @@ 13 Jun 2005: 0.65: ldns-team * Repository is online at: http://www.nlnetlabs.nl/ldns/svn/ - * Apply reference copying throuhgout ldns, excect in 2 + * Apply reference copying throuhgout ldns, except in 2 places in the ldns_resolver structure (._domain and ._nameservers) * Usual array of bugfixes diff --git a/host2str.c b/host2str.c index b24baa80..68468c49 100644 --- a/host2str.c +++ b/host2str.c @@ -232,17 +232,6 @@ ldns_rdf2buffer_str_b64(ldns_buffer *output, ldns_rdf *rdf) ldns_status ldns_rdf2buffer_str_hex(ldns_buffer *output, ldns_rdf *rdf) { -/* - char hex_chars[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', - '9', 'A', 'B', 'C', 'D', 'E', 'F' }; - - size_t i; -ldns_buffer_printf(output, "HEX: "); - for (i = 0; i < ldns_rdf_size(rdf); i++) { - ldns_buffer_printf(output, "%c", hex_chars[ldns_rdf_data(rdf)[i] & 0xF0]); - ldns_buffer_printf(output, "%c", hex_chars[ldns_rdf_data(rdf)[i] & 0x0F]); - } -*/ size_t i; for (i = 0; i < ldns_rdf_size(rdf); i++) { ldns_buffer_printf(output, "%02x", ldns_rdf_data(rdf)[i]);