1 void wdns_print_rrset(FILE * fp,wdns_rrset_t * rrset,unsigned sec)2 wdns_print_rrset(FILE *fp, wdns_rrset_t *rrset, unsigned sec) 3 { 4 char *s; 5 6 s = wdns_rrset_to_str(rrset, sec); 7 if (s == NULL) 8 return; 9 fputs(s, fp); 10 my_free(s); 11 } 12