aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-06-24 14:08:59 +0200
committergrunfink <grunfink@comam.es>2025-06-24 14:08:59 +0200
commit1aa8fe8573bfc93f569bf266770e9f39a1c2da14 (patch)
tree57c0e0f6bc3121e27e211b01d6266f72427b21a3
parentf88bdd796045dd206b38e07adb13b5af4489b4c5 (diff)
"voided" unused arguments in server_post_handler().
-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,
{
int status = 0;
+ (void)payload;
+ (void)p_size;
+ (void)body;
+ (void)b_size;
+ (void)ctype;
+
if (strcmp(q_path, "/webmention-hook") == 0) {
status = HTTP_STATUS_BAD_REQUEST;