diff options
| author | 2023-05-04 09:28:36 +0200 | |
|---|---|---|
| committer | 2023-05-04 09:28:36 +0200 | |
| commit | 185aac23876f9ae5d9b613f8b9abd517c3ab3b4d (patch) | |
| tree | 7d7fcf3e99f4acfa05d251a0bec86f899d4a1005 /activitypub.c | |
| parent | Added some const here and there. (diff) | |
| download | snac2-185aac23876f9ae5d9b613f8b9abd517c3ab3b4d.tar.gz snac2-185aac23876f9ae5d9b613f8b9abd517c3ab3b4d.tar.xz snac2-185aac23876f9ae5d9b613f8b9abd517c3ab3b4d.zip | |
Added -Wextra to C flags.
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activitypub.c b/activitypub.c index 86d33df..c25b733 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1524,6 +1524,8 @@ int activitypub_post_handler(const xs_dict *req, const char *q_path, | |||
| 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 | { |
| 1527 | (void)b_size; | ||
| 1528 | |||
| 1527 | int status = 202; /* accepted */ | 1529 | int status = 202; /* accepted */ |
| 1528 | char *i_ctype = xs_dict_get(req, "content-type"); | 1530 | char *i_ctype = xs_dict_get(req, "content-type"); |
| 1529 | snac snac; | 1531 | snac snac; |