]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
remove pkt print. Remove \n in rrlist print
authorMiek Gieben <miekg@NLnetLabs.nl>
Mon, 13 Jun 2005 09:13:49 +0000 (09:13 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Mon, 13 Jun 2005 09:13:49 +0000 (09:13 +0000)
host2str.c
mx.c

index d3345737452f4e84b741a23357231e98a67e1a7b..b24baa80f32c0ab11e44cda56fa52aae6dbbd146 100644 (file)
@@ -872,7 +872,6 @@ ldns_rr_list2buffer_str(ldns_buffer *output, ldns_rr_list *list)
 
        for(i = 0; i < ldns_rr_list_rr_count(list); i++) {
                (void) ldns_rr2buffer_str(output, ldns_rr_list_rr(list, i));
-               ldns_buffer_printf(output, "\n");
        }
        return ldns_buffer_status(output);
 }
diff --git a/mx.c b/mx.c
index d27337693169660ee8a2233fb621a2586a8fd41a..4a8c0ddba7657430c8ae9f6e3c48609e13098c48 100644 (file)
--- a/mx.c
+++ b/mx.c
@@ -54,7 +54,6 @@ main(int argc, char *argv[])
         if (!p)  {
                exit(1);
         } else {
-               ldns_pkt_print(stdout, p);
                /* retrieve the MX records from the answer section of that
                 * packet
                 */