diff options
author | default <nobody@localhost> | 2023-08-13 14:07:07 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-08-13 14:07:07 +0200 |
commit | 8d04fc912f02d283e0c4d299ede3bb184328f0c6 (patch) | |
tree | 8c8c7ec7a6de2b10f3db00a243584d850a664767 /xs.h | |
parent | 2f0d604f0c58ed89b4f93a483024f1122927c385 (diff) |
Backport from xs.
Diffstat (limited to 'xs.h')
-rw-r--r-- | xs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1013,7 +1013,7 @@ xs_dict *xs_dict_set(xs_dict *dict, const xs_str *key, const xs_val *data) dict = xs_dict_del(dict, key); /* add the data */ - dict = xs_dict_prepend(dict, key, data); + dict = xs_dict_append(dict, key, data); return dict; } |