Commit 7db5d15b authored by Mike Hibler's avatar Mike Hibler
Browse files

Nit: forgot to reset buf pointer when outputting some jailconfig info.

Result was redundant info returned.
parent bf22ebcb
......@@ -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]));
Supports Markdown
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