MINOR: ist: Rename istappend() to __istappend()

Indicate that this function is not inherently safe by adding two underscores as
a prefix.
This commit is contained in:
Tim Duesterhus 2021-04-08 19:28:16 +02:00 committed by Willy Tarreau
parent c8f3e45c6a
commit fbc2b79743

View File

@ -425,7 +425,7 @@ static inline int istneq(const struct ist ist1, const struct ist ist2, size_t co
/* appends <src> after <dst>. The caller must ensure that the underlying buffer /* appends <src> after <dst>. The caller must ensure that the underlying buffer
* is large enough to fit the character. * is large enough to fit the character.
*/ */
static inline struct ist istappend(struct ist dst, const char src) static inline struct ist __istappend(struct ist dst, const char src)
{ {
dst.ptr[dst.len++] = src; dst.ptr[dst.len++] = src;