summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-20 12:50:37 +0200
committerdefault <nobody@localhost>2022-09-20 12:50:37 +0200
commit922b04b4d79c01d13a0de71edf934f019f5a9771 (patch)
tree3d9af6fd42033e5dabfd6cd0187c1130ab6ecb6d /main.c
parente923a4f5ec586d9dcec90e585b8d50cfbeafb8a1 (diff)
New function dequeue().
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index dd072e2..42606c2 100644
--- a/main.c
+++ b/main.c
@@ -21,7 +21,10 @@ int main(int argc, char *argv[])
p = list;
while (xs_list_iter(&p, &fn)) {
- printf("%s\n", fn);
+ xs *obj;
+
+ obj = dequeue(&snac, fn);
+ printf("%s\n", xs_dict_get(obj, "actor"));
}
}