commit 5e5abd76a0e19facf191d9663ab89053d43d8df8
parent 0218e964b0d73340c8d0c5d9e37991359d7c4be9
Author: default <nobody@localhost>
Date: Sat, 31 Aug 2024 07:14:59 +0200
Minor logging tweak.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mastoapi.c b/mastoapi.c
@@ -1270,7 +1270,7 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn
if (dbglevel) {
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)
@@ -1388,7 +1388,7 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn
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;
}