mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Fixed bug in get_attachments().
This commit is contained in:
parent
c172e918b1
commit
5d4e0b0914
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ xs_list *get_attachments(const xs_dict *msg)
|
|||
/* ensure it's a list */
|
||||
if (xs_type(p) == XSTYPE_DICT) {
|
||||
attach = xs_list_new();
|
||||
attach = xs_list_append(attach, v);
|
||||
attach = xs_list_append(attach, p);
|
||||
}
|
||||
else
|
||||
attach = xs_dup(p);
|
||||
|
|
Loading…
Reference in a new issue