From fd6f71bfe36331d046e4183c2c133c6f01c9af2d Mon Sep 17 00:00:00 2001 From: default Date: Mon, 26 Sep 2022 11:19:45 +0200 Subject: More work but signatures seem to still fail. --- data.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data.c') diff --git a/data.c b/data.c index ac6e225..5e6bcac 100644 --- a/data.c +++ b/data.c @@ -302,8 +302,8 @@ int timeline_here(snac *snac, char *id) d_char *timeline_find(snac *snac, char *id) /* gets a message from the timeline by id */ { - xs *fn = _timeline_find_fn(snac, id); - xs *msg = NULL; + xs *fn = _timeline_find_fn(snac, id); + d_char *msg = NULL; if (fn != NULL) { FILE *f; @@ -820,7 +820,7 @@ void enqueue_output(snac *snac, char *msg, char *actor, int retries) return; } - int qrt = xs_number_get(xs_dict_get(srv_config, "query_retry_minutes")); + int qrt = xs_number_get(xs_dict_get(srv_config, "queue_retry_minutes")); xs *ntid = tid(retries * 60 * qrt); xs *fn = xs_fmt("%s/queue/%s.json", snac->basedir, ntid); xs *tfn = xs_fmt("%s.tmp", fn); -- cgit v1.2.3