diff options
| author | 2024-08-31 07:14:59 +0200 | |
|---|---|---|
| committer | 2024-08-31 07:14:59 +0200 | |
| commit | 5e5abd76a0e19facf191d9663ab89053d43d8df8 (patch) | |
| tree | a31eeac3ac1b9d670edd6383a193079c74263ab2 /mastoapi.c | |
| parent | Backport from xs. (diff) | |
| download | penes-snac2-5e5abd76a0e19facf191d9663ab89053d43d8df8.tar.gz penes-snac2-5e5abd76a0e19facf191d9663ab89053d43d8df8.tar.xz penes-snac2-5e5abd76a0e19facf191d9663ab89053d43d8df8.zip | |
Minor logging tweak.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | } |