summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-26 11:19:45 +0200
committerdefault <nobody@localhost>2022-09-26 11:19:45 +0200
commitfd6f71bfe36331d046e4183c2c133c6f01c9af2d (patch)
tree2523108550567f4f20d0b3e3d8ec703f09a05c4d /data.c
parentacc467c0346535f9f71b62bf68cbfbea7d1db0ee (diff)
More work but signatures seem to still fail.
Diffstat (limited to 'data.c')
-rw-r--r--data.c6
1 files changed, 3 insertions, 3 deletions
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);