From 975babca65c6e118db268c6335a4ecbf7c2a9744 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 19 Jan 2026 15:47:59 +0100 Subject: zenserver API changes, some other minor changes (#720) * add system metrics output to top command * removed unnecessary xmake directives * file system API/comment tweaks * fixed out-of-range access in httpserver test * updated ZenServer base API to allow customization by mode --- src/zenhttp/httpserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenhttp/httpserver.cpp') diff --git a/src/zenhttp/httpserver.cpp b/src/zenhttp/httpserver.cpp index 085275195..c4e67d4ed 100644 --- a/src/zenhttp/httpserver.cpp +++ b/src/zenhttp/httpserver.cpp @@ -1345,7 +1345,7 @@ TEST_CASE("http.common") "{a}", [&](auto& Req) { HandledA = true; - Captures = {std::string(Req.GetCapture(1))}; + Captures = {std::string(Req.GetCapture(0))}; }, HttpVerb::kGet); -- cgit v1.2.3