From: Ralph Dolmans Date: Wed, 15 Jul 2020 21:01:13 +0000 (+0200) Subject: remove unused define X-Git-Tag: release-1.11.0~14^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=889b979a0e8d87cf6345d4dd3486bac446b0fd73;p=thirdparty%2Funbound.git remove unused define --- diff --git a/dnstap/dtstream.c b/dnstap/dtstream.c index 3a792f589..7f0c38504 100644 --- a/dnstap/dtstream.c +++ b/dnstap/dtstream.c @@ -71,8 +71,6 @@ /** maximum length of received frame */ #define DTIO_RECV_FRAME_MAX_LEN 1000 -/** lentgh of the ACCEPT frame with DNSTAP content type */ -#define DNSTAP_ACCEPT_FRAME_LEN 4+4+4+strlen(DNSTAP_CONTENT_TYPE) struct stop_flush_info; /** DTIO command channel commands */ @@ -1097,7 +1095,7 @@ static int dtio_read_accept_frame(struct dt_io_thread* dtio) } read_frame_done = 4; /* control frame type */ - /* Iteratate over control fields, ignore unknown types. + /* Iterate over control fields, ignore unknown types. * Need to be able to read at least 2 bytes (control field type + * length). */ while(read_frame_done+8 < dtio->read_frame.frame_len) {