Commit 2bc4d454 authored by Tinderbox User's avatar Tinderbox User

update copyright notice / whitespace

parent d20f0472
......@@ -10,8 +10,8 @@
automatically by converted to NZD databases.
To view the contents of an NZD or to roll back to
NZF format, use "named-nzd2nzf". To disable
this feature, use "configure --without-lmdb".
[RT #39837]
this feature, use "configure --without-lmdb".
[RT #39837]
4420. [func] nslookup now looks for AAAA as well as A by default.
[RT #40420]
......
......@@ -10597,7 +10597,7 @@ nzd_setkey(MDB_val *key, dns_name_t *name, char *namebuf, size_t buflen) {
dns_fixedname_init(&fixed);
dns_name_downcase(name, dns_fixedname_name(&fixed), NULL);
dns_name_format(dns_fixedname_name(&fixed), namebuf, buflen);
key->mv_data = namebuf;
key->mv_size = strlen(namebuf);
}
......@@ -10920,7 +10920,7 @@ migrate_nzf(dns_view_t *view) {
*/
strlcpy(tempname, view->new_zone_file, sizeof(tempname));
if (strlen(tempname) < sizeof(tempname) - 1) {
strcat(tempname, "~");
strcat(tempname, "~");
isc_file_rename(view->new_zone_file, tempname);
}
......@@ -11585,12 +11585,12 @@ rmzone(isc_task_t *task, isc_event_t *event) {
const cfg_obj_t *voptions =
cfg_tuple_get(cfg->vconfig, "options");
result = delete_zoneconf(view, cfg->conf_parser,
voptions,
voptions,
dns_zone_getorigin(zone),
NULL);
} else {
result = delete_zoneconf(view, cfg->conf_parser,
cfg->config,
cfg->config,
dns_zone_getorigin(zone),
NULL);
}
......
......@@ -485,7 +485,7 @@
in a database, rather than in a flat "NZF" file. This
dramatically improves performance for
<command>rndc delzone</command> and
<command>rndc modzone</command>: deleting or changing
<command>rndc modzone</command>: deleting or changing
the contents of a database is much faster than rewriting
a text file.
</para>
......
......@@ -872,7 +872,7 @@ catz_process_zones(dns_catz_zone_t *zone, dns_rdataset_t *value,
REQUIRE(name != NULL);
if (value->rdclass != dns_rdataclass_in)
return (ISC_R_FAILURE);
return (ISC_R_FAILURE);
if (name->labels == 0)
return (ISC_R_FAILURE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment