From 0cc4a4f1286a66ee955e398e17f078c0261eb8c7 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Tue, 24 Sep 2024 15:04:24 +0300 Subject: [PATCH] Warning fix --- common/network/websocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/network/websocket.c b/common/network/websocket.c index 48946fb..7952479 100644 --- a/common/network/websocket.c +++ b/common/network/websocket.c @@ -927,7 +927,7 @@ static void servefile(ws_ctx_t *ws_ctx, const char *in, const char * const user, // in case they percent-encoded dots if (strstr(buf, "../")) { - handler_msg("Attempted dir traversal attack, rejecting\n", len); + handler_msg("Attempted dir traversal attack, rejecting\n"); goto nope; }