Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
7db5d15b
Commit
7db5d15b
authored
Feb 07, 2008
by
Mike Hibler
Browse files
Nit: forgot to reset buf pointer when outputting some jailconfig info.
Result was redundant info returned.
parent
bf22ebcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/tmcd.c
View file @
7db5d15b
...
...
@@ -4961,6 +4961,7 @@ COMMAND_PROTOTYPE(dojailconfig)
if
((
int
)
mysql_num_rows
(
res
)
!=
0
)
{
row
=
mysql_fetch_row
(
res
);
if
(
row
[
0
])
{
bufp
=
buf
;
bufp
+=
OUTPUT
(
bufp
,
ebufp
-
bufp
,
"VDSIZE=%d
\n
"
,
atoi
(
row
[
0
]));
}
...
...
Write
Preview
Supports
Markdown
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