util: make base64_append() add a whitespace before appending data

Follow-up for 4bb91a950a.
This commit is contained in:
Yu Watanabe 2019-02-19 08:30:02 +09:00
parent 2dcaf38020
commit ebf963c551
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ int base64_append(
return base64_append_width(prefix, plen, "\n", indent, p, l, width - indent - 1);
else
/* leave plen on the left, keep last column free */
return base64_append_width(prefix, plen, NULL, plen, p, l, width - plen - 1);
return base64_append_width(prefix, plen, " ", plen, p, l, width - plen - 1);
}
static int unbase64_next(const char **p, size_t *l) {