Minor logging tweak.

This commit is contained in:
default 2024-08-31 07:14:59 +02:00
parent 0218e964b0
commit 5e5abd76a0

View file

@ -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;
} }