Replace g_string_insert_len() by g_string_append_len()
[babeltrace.git] / formats / ctf / ir / event-fields.c
index c80c12fe0c02119020e656a32eaf6b6b2fcb7c94..80a6655b50f81c40fea196831a55b1d9d463a127 100644 (file)
@@ -972,7 +972,7 @@ int bt_ctf_field_string_append_len(struct bt_ctf_field *field,
        }
 
        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,
This page took 0.022823 seconds and 4 git commands to generate.