Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
c42ab597
Commit
c42ab597
authored
Sep 28, 2004
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1734. [cleanup] 'rndc-confgen -a -t' remove extra '/' in path.
[RT #12588]
parent
5ec95dc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CHANGES
CHANGES
+3
-0
bin/rndc/rndc-confgen.c
bin/rndc/rndc-confgen.c
+3
-2
No files found.
CHANGES
View file @
c42ab597
1734. [cleanup] 'rndc-confgen -a -t' remove extra '/' in path.
[RT #12588]
1733. [placeholder] rt12658
1732. [placeholder] rt12467
...
...
bin/rndc/rndc-confgen.c
View file @
c42ab597
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rndc-confgen.c,v 1.1
8
2004/0
3/05 04:58
:2
0
marka Exp $ */
/* $Id: rndc-confgen.c,v 1.1
9
2004/0
9/28 07:11
:2
5
marka Exp $ */
#include <config.h>
...
...
@@ -273,7 +273,8 @@ main(int argc, char **argv) {
buf
=
isc_mem_get
(
mctx
,
len
);
if
(
buf
==
NULL
)
fatal
(
"isc_mem_get(%d) failed
\n
"
,
len
);
snprintf
(
buf
,
len
,
"%s/%s"
,
chrootdir
,
keyfile
);
snprintf
(
buf
,
len
,
"%s%s%s"
,
chrootdir
,
(
*
keyfile
!=
'/'
)
?
"/"
:
""
,
keyfile
);
write_key_file
(
buf
,
user
,
keyname
,
&
key_txtbuffer
);
isc_mem_put
(
mctx
,
buf
,
len
);
...
...
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