mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 11:40:27 +03:00
Backport from xs.
This commit is contained in:
parent
2f0d604f0c
commit
8d04fc912f
2
xs.h
2
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;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
/* 6cb05184b1aafc2740758de5422d70df51e01b66 */
|
||||
/* ac9e4d062c08ebfec62279b7ffde5215d45fcea6 */
|
||||
|
Loading…
Reference in New Issue
Block a user