summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
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)
302d_char *timeline_find(snac *snac, char *id) 302d_char *timeline_find(snac *snac, char *id)
303/* gets a message from the timeline by id */ 303/* gets a message from the timeline by id */
304{ 304{
305 xs *fn = _timeline_find_fn(snac, id); 305 xs *fn = _timeline_find_fn(snac, id);
306 xs *msg = NULL; 306 d_char *msg = NULL;
307 307
308 if (fn != NULL) { 308 if (fn != NULL) {
309 FILE *f; 309 FILE *f;
@@ -820,7 +820,7 @@ void enqueue_output(snac *snac, char *msg, char *actor, int retries)
820 return; 820 return;
821 } 821 }
822 822
823 int qrt = xs_number_get(xs_dict_get(srv_config, "query_retry_minutes")); 823 int qrt = xs_number_get(xs_dict_get(srv_config, "queue_retry_minutes"));
824 xs *ntid = tid(retries * 60 * qrt); 824 xs *ntid = tid(retries * 60 * qrt);
825 xs *fn = xs_fmt("%s/queue/%s.json", snac->basedir, ntid); 825 xs *fn = xs_fmt("%s/queue/%s.json", snac->basedir, ntid);
826 xs *tfn = xs_fmt("%s.tmp", fn); 826 xs *tfn = xs_fmt("%s.tmp", fn);