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
c42ab597
Commit
c42ab597
authored
Sep 28, 2004
by
Mark Andrews
Browse files
1734. [cleanup] 'rndc-confgen -a -t' remove extra '/' in path.
[RT #12588]
parent
5ec95dc3
Changes
2
Show whitespace changes
Inline
Side-by-side
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