summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-06-24 14:08:59 +0200
committerGravatar grunfink2025-06-24 14:08:59 +0200
commit1aa8fe8573bfc93f569bf266770e9f39a1c2da14 (patch)
tree57c0e0f6bc3121e27e211b01d6266f72427b21a3 /httpd.c
parentAdded a webmention hook. (diff)
downloadpenes-snac2-1aa8fe8573bfc93f569bf266770e9f39a1c2da14.tar.gz
penes-snac2-1aa8fe8573bfc93f569bf266770e9f39a1c2da14.tar.xz
penes-snac2-1aa8fe8573bfc93f569bf266770e9f39a1c2da14.zip
"voided" unused arguments in server_post_handler().
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index af78e09..9216bdc 100644
--- a/httpd.c
+++ b/httpd.c
@@ -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