commit 5d4e0b0
default
·
2024-02-16 17:20:48 +0000 UTC
parent c172e91
Fixed bug in get_attachments().
1 files changed,
+1,
-1
+1,
-1
1@@ -198,7 +198,7 @@ xs_list *get_attachments(const xs_dict *msg)
2 /* ensure it's a list */
3 if (xs_type(p) == XSTYPE_DICT) {
4 attach = xs_list_new();
5- attach = xs_list_append(attach, v);
6+ attach = xs_list_append(attach, p);
7 }
8 else
9 attach = xs_dup(p);