diff options
| author | 2023-05-04 09:25:09 +0200 | |
|---|---|---|
| committer | 2023-05-04 09:25:09 +0200 | |
| commit | 753eadfd1775545c5bfb4110ad2ba7cb61df9588 (patch) | |
| tree | 84ec6b7daa8a13f63e2c5d86223858dd27365cd4 /activitypub.c | |
| parent | Deleted real unused parameters. (diff) | |
| download | snac2-753eadfd1775545c5bfb4110ad2ba7cb61df9588.tar.gz snac2-753eadfd1775545c5bfb4110ad2ba7cb61df9588.tar.xz snac2-753eadfd1775545c5bfb4110ad2ba7cb61df9588.zip | |
Added some const here and there.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 6 |
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 | ||
| 1429 | int activitypub_get_handler(d_char *req, char *q_path, | 1429 | int 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 | ||
| 1522 | int activitypub_post_handler(d_char *req, char *q_path, | 1522 | int 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 | { |