diff options
| author | 2025-06-24 14:08:59 +0200 | |
|---|---|---|
| committer | 2025-06-24 14:08:59 +0200 | |
| commit | 1aa8fe8573bfc93f569bf266770e9f39a1c2da14 (patch) | |
| tree | 57c0e0f6bc3121e27e211b01d6266f72427b21a3 /httpd.c | |
| parent | Added a webmention hook. (diff) | |
| download | penes-snac2-1aa8fe8573bfc93f569bf266770e9f39a1c2da14.tar.gz penes-snac2-1aa8fe8573bfc93f569bf266770e9f39a1c2da14.tar.xz penes-snac2-1aa8fe8573bfc93f569bf266770e9f39a1c2da14.zip | |
"voided" unused arguments in server_post_handler().
Diffstat (limited to '')
| -rw-r--r-- | httpd.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -380,6 +380,12 @@ int server_post_handler(const xs_dict *req, const char *q_path, | |||
| 380 | { | 380 | { |
| 381 | int status = 0; | 381 | int status = 0; |
| 382 | 382 | ||
| 383 | (void)payload; | ||
| 384 | (void)p_size; | ||
| 385 | (void)body; | ||
| 386 | (void)b_size; | ||
| 387 | (void)ctype; | ||
| 388 | |||
| 383 | if (strcmp(q_path, "/webmention-hook") == 0) { | 389 | if (strcmp(q_path, "/webmention-hook") == 0) { |
| 384 | status = HTTP_STATUS_BAD_REQUEST; | 390 | status = HTTP_STATUS_BAD_REQUEST; |
| 385 | 391 | ||