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)
252 FILE *f; 252 FILE *f;
253 253
254 if ((f = fopen(p, "r")) != NULL) { 254 if ((f = fopen(p, "r")) != NULL) {
255 xs *j = xs_readall(f);
256 xs *o = xs_json_loads(j);
257
258 if (o != NULL)
259 list = xs_list_append(list, o);
260
261 fclose(f);
255 } 262 }
256 } 263 }
257 } 264 }