commit 5e5abd7

default  ·  2024-08-31 05:14:59 +0000 UTC
parent 0218e96
Minor logging tweak.
1 files changed,  +2, -2
+2, -2
 1@@ -1270,7 +1270,7 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn
 2 
 3     if (dbglevel) {
 4         xs *js = xs_json_dumps(args, 0);
 5-        srv_debug(1, xs_fmt("mastoapi_timeline args: %s", js));
 6+        srv_debug(1, xs_fmt("mastoapi_timeline args %s", js));
 7     }
 8 
 9     if ((f = fopen(index_fn, "r")) == NULL)
10@@ -1388,7 +1388,7 @@ xs_list *mastoapi_timeline(snac *user, const xs_dict *args, const char *index_fn
11 
12     fclose(f);
13 
14-    srv_debug(1, xs_fmt("mastoapi_timeline: %d %d %d", cnt, xs_list_len(out), more));
15+    srv_debug(1, xs_fmt("mastoapi_timeline ret %d%s", cnt, more ? " (+)" : ""));
16 
17     return out;
18 }