diff options
| author | 2022-09-26 11:19:45 +0200 | |
|---|---|---|
| committer | 2022-09-26 11:19:45 +0200 | |
| commit | fd6f71bfe36331d046e4183c2c133c6f01c9af2d (patch) | |
| tree | 2523108550567f4f20d0b3e3d8ec703f09a05c4d /data.c | |
| parent | New function msg_admiration(). (diff) | |
| download | snac2-fd6f71bfe36331d046e4183c2c133c6f01c9af2d.tar.gz snac2-fd6f71bfe36331d046e4183c2c133c6f01c9af2d.tar.xz snac2-fd6f71bfe36331d046e4183c2c133c6f01c9af2d.zip | |
More work but signatures seem to still fail.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -302,8 +302,8 @@ int timeline_here(snac *snac, char *id) | |||
| 302 | d_char *timeline_find(snac *snac, char *id) | 302 | d_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); |