From ce3ecf33122534c3a6e7a41a98affa880d38fa83 Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Fri, 23 Sep 2016 10:50:38 +0200 Subject: [PATCH] Remove commented out macro. Thanks Thiago Farina --- Changelog | 1 + ldns/wire2host.h | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Changelog b/Changelog index 5d2a1920..fd819764 100644 --- a/Changelog +++ b/Changelog @@ -73,6 +73,7 @@ TBD * Fix comment referring to mk_query in packet.h to pkt_query_new. * Fix description of QR flag in packet.h. * Fix for openssl 1.1.0 API changes. + * Remove commented out macro. Thanks Thiago Farina 1.6.17 2014-01-10 * Fix ldns_dnssec_zone_new_frm_fp_l to allow the last parsed line of a diff --git a/ldns/wire2host.h b/ldns/wire2host.h index 7ce146aa..6a7999c3 100644 --- a/ldns/wire2host.h +++ b/ldns/wire2host.h @@ -99,9 +99,6 @@ extern "C" { /* Counter of the question section */ #define LDNS_QDCOUNT_OFF 4 -/* -#define QDCOUNT(wirebuf) (ntohs(*(uint16_t *)(wirebuf+QDCOUNT_OFF))) -*/ #define LDNS_QDCOUNT(wirebuf) (ldns_read_uint16(wirebuf+LDNS_QDCOUNT_OFF)) /* Counter of the answer section */ -- 2.47.3