mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 06:25:04 +00:00
Minor logging tweak.
This commit is contained in:
parent
0218e964b0
commit
5e5abd76a0
1 changed files with 2 additions and 2 deletions
|
@ -1270,7 +1270,7 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn
|
||||||
|
|
||||||
if (dbglevel) {
|
if (dbglevel) {
|
||||||
xs *js = xs_json_dumps(args, 0);
|
xs *js = xs_json_dumps(args, 0);
|
||||||
srv_debug(1, xs_fmt("mastoapi_timeline args: %s", js));
|
srv_debug(1, xs_fmt("mastoapi_timeline args %s", js));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((f = fopen(index_fn, "r")) == NULL)
|
if ((f = fopen(index_fn, "r")) == NULL)
|
||||||
|
@ -1388,7 +1388,7 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn
|
||||||
|
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
srv_debug(1, xs_fmt("mastoapi_timeline: %d %d %d", cnt, xs_list_len(out), more));
|
srv_debug(1, xs_fmt("mastoapi_timeline ret %d%s", cnt, more ? " (+)" : ""));
|
||||||
|
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue