"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dbcreate.c" between
nsd-4.3.5.tar.gz and nsd-4.3.6.tar.gz

About: NSD is an authoritative only, high performance, simple name server daemon.

dbcreate.c  (nsd-4.3.5):dbcreate.c  (nsd-4.3.6)
skipping to change at line 183 skipping to change at line 183
/* write zone */ /* write zone */
if(!write_zone(udb, &z, zone)) { if(!write_zone(udb, &z, zone)) {
udb_base_set_userflags(udb, 0); udb_base_set_userflags(udb, 0);
return 0; return 0;
} }
udb_ptr_unlink(&z, udb); udb_ptr_unlink(&z, udb);
udb_base_set_userflags(udb, 0); udb_base_set_userflags(udb, 0);
return 1; return 1;
} }
static int int
print_rrs(FILE* out, struct zone* zone) print_rrs(FILE* out, struct zone* zone)
{ {
rrset_type *rrset; rrset_type *rrset;
domain_type *domain = zone->apex; domain_type *domain = zone->apex;
region_type* region = region_create(xalloc, free); region_type* region = region_create(xalloc, free);
region_type* rr_region = region_create(xalloc, free); region_type* rr_region = region_create(xalloc, free);
buffer_type* rr_buffer = buffer_create(region, MAX_RDLENGTH); buffer_type* rr_buffer = buffer_create(region, MAX_RDLENGTH);
struct state_pretty_rr* state = create_pretty_rr(region); struct state_pretty_rr* state = create_pretty_rr(region);
/* first print the SOA record for the zone */ /* first print the SOA record for the zone */
if(zone->soa_rrset) { if(zone->soa_rrset) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)