summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/data.c b/data.c
index 72efb17..4486dc6 100644
--- a/data.c
+++ b/data.c
@@ -252,6 +252,13 @@ d_char *follower_list(snac *snac)
FILE *f;
if ((f = fopen(p, "r")) != NULL) {
+ xs *j = xs_readall(f);
+ xs *o = xs_json_loads(j);
+
+ if (o != NULL)
+ list = xs_list_append(list, o);
+
+ fclose(f);
}
}
}