summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-08-31 07:14:59 +0200
committerGravatar default2024-08-31 07:14:59 +0200
commit5e5abd76a0e19facf191d9663ab89053d43d8df8 (patch)
treea31eeac3ac1b9d670edd6383a193079c74263ab2
parentBackport from xs. (diff)
downloadsnac2-5e5abd76a0e19facf191d9663ab89053d43d8df8.tar.gz
snac2-5e5abd76a0e19facf191d9663ab89053d43d8df8.tar.xz
snac2-5e5abd76a0e19facf191d9663ab89053d43d8df8.zip
Minor logging tweak.
-rw-r--r--mastoapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 13cc129..ec8268c 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1270,7 +1270,7 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn
1270 1270
1271 if (dbglevel) { 1271 if (dbglevel) {
1272 xs *js = xs_json_dumps(args, 0); 1272 xs *js = xs_json_dumps(args, 0);
1273 srv_debug(1, xs_fmt("mastoapi_timeline args: %s", js)); 1273 srv_debug(1, xs_fmt("mastoapi_timeline args %s", js));
1274 } 1274 }
1275 1275
1276 if ((f = fopen(index_fn, "r")) == NULL) 1276 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
1388 1388
1389 fclose(f); 1389 fclose(f);
1390 1390
1391 srv_debug(1, xs_fmt("mastoapi_timeline: %d %d %d", cnt, xs_list_len(out), more)); 1391 srv_debug(1, xs_fmt("mastoapi_timeline ret %d%s", cnt, more ? " (+)" : ""));
1392 1392
1393 return out; 1393 return out;
1394} 1394}