summaryrefslogtreecommitdiff
path: root/xs.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-08-13 14:07:07 +0200
committerdefault <nobody@localhost>2023-08-13 14:07:07 +0200
commit8d04fc912f02d283e0c4d299ede3bb184328f0c6 (patch)
tree8c8c7ec7a6de2b10f3db00a243584d850a664767 /xs.h
parent2f0d604f0c58ed89b4f93a483024f1122927c385 (diff)
Backport from xs.
Diffstat (limited to 'xs.h')
-rw-r--r--xs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs.h b/xs.h
index a9064e0..4cda1c9 100644
--- a/xs.h
+++ b/xs.h
@@ -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;
}