shared.c: add strbuf_ensure_end
This is a small helper so that we can easily ensure that a strbuf ends with the specified character. Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:

committed by
Jason A. Donenfeld

parent
fd00d2f9d6
commit
d2e20e3814
Reference in New Issue
Block a user