diff options
| -rw-r--r-- | activitypub.c | 2 | ||||
| -rw-r--r-- | snac.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/activitypub.c b/activitypub.c index 5aae251..651c18c 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1215,7 +1215,7 @@ void process_queue(void) | |||
| 1215 | continue; | 1215 | continue; |
| 1216 | } | 1216 | } |
| 1217 | 1217 | ||
| 1218 | process_queue_item(q_item); | 1218 | job_post(q_item); |
| 1219 | } | 1219 | } |
| 1220 | } | 1220 | } |
| 1221 | 1221 | ||
| @@ -172,7 +172,6 @@ void process_user_queue(snac *snac); | |||
| 172 | void process_queue_item(xs_dict *q_item); | 172 | void process_queue_item(xs_dict *q_item); |
| 173 | void process_queue(void); | 173 | void process_queue(void); |
| 174 | 174 | ||
| 175 | void post(snac *snac, char *msg); | ||
| 176 | int activitypub_get_handler(d_char *req, char *q_path, | 175 | int activitypub_get_handler(d_char *req, char *q_path, |
| 177 | char **body, int *b_size, char **ctype); | 176 | char **body, int *b_size, char **ctype); |
| 178 | int activitypub_post_handler(d_char *req, char *q_path, | 177 | int activitypub_post_handler(d_char *req, char *q_path, |
| @@ -189,3 +188,6 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, | |||
| 189 | int snac_init(const char *_basedir); | 188 | int snac_init(const char *_basedir); |
| 190 | int adduser(const char *uid); | 189 | int adduser(const char *uid); |
| 191 | int resetpwd(snac *snac); | 190 | int resetpwd(snac *snac); |
| 191 | |||
| 192 | void job_post(const xs_val *job); | ||
| 193 | void job_wait(xs_val **job); | ||