Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
f56a8f6b
Commit
f56a8f6b
authored
Aug 19, 1999
by
Bob Halley
Browse files
cversion not needed
parent
20eb2237
Changes
1
Show whitespace changes
Inline
Side-by-side
bin/tests/nxtify.c
View file @
f56a8f6b
...
...
@@ -184,7 +184,7 @@ static void
nxtify
(
char
*
filename
)
{
isc_result_t
result
;
dns_db_t
*
db
;
dns_dbversion_t
*
cversion
,
*
wversion
;
dns_dbversion_t
*
wversion
;
dns_dbnode_t
*
node
,
*
nextnode
;
char
*
origintext
;
dns_fixedname_t
fname
,
fnextname
;
...
...
@@ -216,8 +216,6 @@ nxtify(char *filename) {
check_result
(
result
,
"dns_db_create()"
);
result
=
dns_db_load
(
db
,
filename
);
check_result
(
result
,
"dns_db_load()"
);
cversion
=
NULL
;
dns_db_currentversion
(
db
,
&
cversion
);
wversion
=
NULL
;
result
=
dns_db_newversion
(
db
,
&
wversion
);
check_result
(
result
,
"dns_db_newversion()"
);
...
...
@@ -251,7 +249,6 @@ nxtify(char *filename) {
/*
* XXXRTH For now, we don't increment the SOA serial.
*/
dns_db_closeversion
(
db
,
&
cversion
,
ISC_FALSE
);
dns_db_closeversion
(
db
,
&
wversion
,
ISC_TRUE
);
len
=
strlen
(
filename
);
if
(
len
+
4
+
1
>
sizeof
newfilename
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment