summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/activitypub.c b/activitypub.c
index 13b1ce2..86d33df 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -1426,7 +1426,7 @@ int process_queue(void)
1426 1426
1427/** HTTP handlers */ 1427/** HTTP handlers */
1428 1428
1429int activitypub_get_handler(d_char *req, char *q_path, 1429int activitypub_get_handler(const xs_dict *req, const char *q_path,
1430 char **body, int *b_size, char **ctype) 1430 char **body, int *b_size, char **ctype)
1431{ 1431{
1432 int status = 200; 1432 int status = 200;
@@ -1519,8 +1519,8 @@ int activitypub_get_handler(d_char *req, char *q_path,
1519} 1519}
1520 1520
1521 1521
1522int activitypub_post_handler(d_char *req, char *q_path, 1522int activitypub_post_handler(const xs_dict *req, const char *q_path,
1523 d_char *payload, int p_size, 1523 char *payload, int p_size,
1524 char **body, int *b_size, char **ctype) 1524 char **body, int *b_size, char **ctype)
1525/* processes an input message */ 1525/* processes an input message */
1526{ 1526{