diff options
author | default <nobody@localhost> | 2023-05-15 11:15:28 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-05-15 11:15:28 +0200 |
commit | e9588a71ae67427d3ed0c50246f46724aa7611c3 (patch) | |
tree | ec503280ce297ee03ca7cd1fe3c0528284198a4d /data.c | |
parent | 59b049fe3b689eac6e028a9b5537bc593b9e3696 (diff) |
Add /v1/account/search support.
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1222,13 +1222,14 @@ int following_get(snac *snac, const char *actor, d_char **data) } -d_char *following_list(snac *snac) +xs_list *following_list(snac *snac) /* returns the list of people being followed */ { xs *spec = xs_fmt("%s/following/" "*.json", snac->basedir); xs *glist = xs_glob(spec, 0, 0); - char *p, *v; - d_char *list = xs_list_new(); + xs_list *p; + xs_str *v; + xs_list *list = xs_list_new(); /* iterate the list of files */ p = glist; |