]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
I know what I print
authorMiek Gieben <miekg@NLnetLabs.nl>
Tue, 23 Aug 2005 19:45:25 +0000 (19:45 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Tue, 23 Aug 2005 19:45:25 +0000 (19:45 +0000)
host2str.c

index 63b21f27be6d3fe80c97c320e8d5fcca9388493a..ac65f2a74835402401e907cf46136cabae4a49d6 100644 (file)
@@ -770,7 +770,7 @@ ldns_rdf2buffer_str(ldns_buffer *buffer, ldns_rdf *rdf)
                        break;
                }
        } else {
-               ldns_buffer_printf(buffer, "(null no rdf...) ");
+               ldns_buffer_printf(buffer, "(null) ");
        }
        return LDNS_STATUS_OK;
 }
@@ -784,7 +784,7 @@ ldns_rr2buffer_str(ldns_buffer *output, ldns_rr *rr)
        const ldns_rr_descriptor *descriptor;
        
        if (!rr) {
-               ldns_buffer_printf(output, "(null no rr)\n");
+               ldns_buffer_printf(output, "(null)\n");
        } else {
                if (ldns_rr_owner(rr)) {
                        status = ldns_rdf2buffer_str_dname(output, ldns_rr_owner(rr)); 
@@ -1235,7 +1235,7 @@ ldns_rr_list2str(ldns_rr_list *list)
                if (ldns_rr_list2buffer_str(tmp_buffer, list) == LDNS_STATUS_OK) {
                }
        } else {
-               ldns_buffer_printf(tmp_buffer, "(null no list)\n");
+               ldns_buffer_printf(tmp_buffer, "(null)\n");
        }
 
        /* export and return string, destroy rest */