summaryrefslogtreecommitdiff
path: root/xs.h
diff options
context:
space:
mode:
authorGravatar default2023-08-13 14:07:07 +0200
committerGravatar default2023-08-13 14:07:07 +0200
commit8d04fc912f02d283e0c4d299ede3bb184328f0c6 (patch)
tree8c8c7ec7a6de2b10f3db00a243584d850a664767 /xs.h
parentMore mastoapi tweaks. (diff)
downloadsnac2-8d04fc912f02d283e0c4d299ede3bb184328f0c6.tar.gz
snac2-8d04fc912f02d283e0c4d299ede3bb184328f0c6.tar.xz
snac2-8d04fc912f02d283e0c4d299ede3bb184328f0c6.zip
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)
1013 dict = xs_dict_del(dict, key); 1013 dict = xs_dict_del(dict, key);
1014 1014
1015 /* add the data */ 1015 /* add the data */
1016 dict = xs_dict_prepend(dict, key, data); 1016 dict = xs_dict_append(dict, key, data);
1017 1017
1018 return dict; 1018 return dict;
1019} 1019}