bt_ctf_field_string_append_len uses g_string_insert_len() with a
position of "-1" to append to the end of the string field's payload
which is what g_string_append_len() does by default.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
}
if (string_field->payload) {
}
if (string_field->payload) {
- g_string_insert_len(string_field->payload, -1, value,
+ g_string_append_len(string_field->payload, value,
effective_length);
} else {
string_field->payload = g_string_new_len(value,
effective_length);
} else {
string_field->payload = g_string_new_len(value,