util/ralloc: add ralloc_str_append() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 9 Aug 2017 03:34:08 +0000 (13:34 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 11 Aug 2017 00:43:31 +0000 (10:43 +1000)
commit26f4657c3f075045527c4568e8cbbaaa5d0b08e4
treef42b99121a226131b49c12424497b529f424f448
parent53320e25b425b10478891c695ca9a3c0477abd22
util/ralloc: add ralloc_str_append() helper

This function differs from ralloc_strcat() and ralloc_strncat()
in that it  does not do any strlen() calls which can become
costly on large strings.

Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
src/util/ralloc.c
src/util/ralloc.h