]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Rename variable named 'true' to 't'
authorOndřej Surý <ondrej@sury.org>
Mon, 24 Sep 2018 12:25:38 +0000 (14:25 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 25 Sep 2018 07:48:35 +0000 (09:48 +0200)
bin/dig/dighost.c

index 7d3bcd25ea94108e0d2f269537d05f433870c71e..aa5315d2f78301c386a134a51e14fb394eccb17b 100644 (file)
@@ -5263,7 +5263,7 @@ prepare_lookup(dns_name_t *name)
                isc_buffer_t *b = NULL;
                isc_region_t r;
                dns_rdataset_t *rdataset = NULL;
-               bool true = true;
+               bool t = true;
 #endif
 
                memset(namestr, 0, DNS_NAME_FORMATSIZE);
@@ -5277,7 +5277,7 @@ prepare_lookup(dns_name_t *name)
 
                result = advanced_rrsearch(&rdataset, &ns.name,
                                           dns_rdatatype_aaaa,
-                                          dns_rdatatype_any, &true);
+                                          dns_rdatatype_any, &t);
                if (result == ISC_R_SUCCESS) {
                        for (result = dns_rdataset_first(rdataset);
                             result == ISC_R_SUCCESS;
@@ -5306,7 +5306,7 @@ prepare_lookup(dns_name_t *name)
 
                rdataset = NULL;
                result = advanced_rrsearch(&rdataset, &ns.name, dns_rdatatype_a,
-                                          dns_rdatatype_any, &true);
+                                          dns_rdatatype_any, &t);
                if (result == ISC_R_SUCCESS) {
                        for (result = dns_rdataset_first(rdataset);
                             result == ISC_R_SUCCESS;
@@ -5425,11 +5425,11 @@ isc_result_t
 initialization(dns_name_t *name)
 {
        isc_result_t   result;
-       bool  true = true;
+       bool t = true;
 
        chase_nsrdataset = NULL;
        result = advanced_rrsearch(&chase_nsrdataset, name, dns_rdatatype_ns,
-                                  dns_rdatatype_any, &true);
+                                  dns_rdatatype_any, &t);
        if (result != ISC_R_SUCCESS) {
                printf("\n;; NS RRset is missing to continue validation:"
                       " FAILED\n\n");
@@ -5784,7 +5784,7 @@ sigchase_td(dns_message_t *msg)
        isc_result_t result;
        dns_name_t *name = NULL;
        bool have_answer = false;
-       bool true = true;
+       bool t = true;
 
        if (msg->rcode != dns_rcode_noerror &&
            msg->rcode != dns_rcode_nxdomain) {
@@ -5926,7 +5926,7 @@ sigchase_td(dns_message_t *msg)
                                                   dns_rdatatype_rrsig,
                                                   current_lookup
                                                   ->rdtype_sigchase,
-                                                  &true);
+                                                  &t);
                        if (result == ISC_R_FAILURE) {
                                printf("\n;; RRset is missing to continue"
                                       " validation SHOULD NOT APPEND:"
@@ -5939,7 +5939,7 @@ sigchase_td(dns_message_t *msg)
                                                   &chase_authority_name,
                                                   dns_rdatatype_rrsig,
                                                   dns_rdatatype_any,
-                                                  &true);
+                                                  &t);
                        if (result == ISC_R_FAILURE) {
                                printf("\n;; RRSIG is missing  to continue"
                                       " validation SHOULD NOT APPEND:"
@@ -6015,7 +6015,7 @@ sigchase_td(dns_message_t *msg)
                                           &chase_authority_name,
                                           dns_rdatatype_rrsig,
                                           dns_rdatatype_ds,
-                                          &true);
+                                          &t);
                if (result != ISC_R_SUCCESS) {
                        printf("\n;; DSset is missing to continue validation:"
                               " FAILED\n\n");
@@ -6102,7 +6102,7 @@ sigchase_td(dns_message_t *msg)
                result = advanced_rrsearch(&chase_rdataset, &chase_name,
                                           current_lookup->rdtype_sigchase,
                                           dns_rdatatype_any ,
-                                          &true);
+                                          &t);
        if (result == ISC_R_FAILURE) {
                printf("\n;; RRsig of RRset is missing to continue validation"
                       " SHOULD NOT APPEND: FAILED\n\n");
@@ -6145,7 +6145,7 @@ getneededrr(dns_message_t *msg)
        dns_name_t *name = NULL;
        dns_rdata_t sigrdata = DNS_RDATA_INIT;
        dns_rdata_sig_t siginfo;
-       bool   true = true;
+       bool t = true;
 
        if ((result = dns_message_firstname(msg, DNS_SECTION_ANSWER))
            != ISC_R_SUCCESS) {
@@ -6161,7 +6161,7 @@ getneededrr(dns_message_t *msg)
        if (chase_rdataset == NULL) {
                result = advanced_rrsearch(&chase_rdataset, name,
                                           dns_rdatatype_any,
-                                          dns_rdatatype_any, &true);
+                                          dns_rdatatype_any, &t);
                if (result != ISC_R_SUCCESS) {
                        printf("\n;; No Answers: Validation FAILED\n\n");
                        return (ISC_R_NOTFOUND);
@@ -6280,7 +6280,7 @@ getneededrr(dns_message_t *msg)
                result = advanced_rrsearch(&chase_sigdsrdataset,
                                           &chase_signame,
                                           dns_rdatatype_rrsig,
-                                          dns_rdatatype_ds, &true);
+                                          dns_rdatatype_ds, &t);
                if (result == ISC_R_FAILURE) {
                        printf(";; WARNING : NO RRSIG DS : RRSIG DS"
                               " should come with DS\n");