mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 11:40:27 +03:00
Minor logging tweak.
This commit is contained in:
parent
0218e964b0
commit
5e5abd76a0
@ -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 New Issue
Block a user