mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
util: make base64_append() add a whitespace before appending data
Follow-up for 4bb91a950a
.
This commit is contained in:
parent
2dcaf38020
commit
ebf963c551
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user