# HG changeset patch # User Olaf Wintermann # Date 1763900833 -3600 # Node ID 85721a583f390d7492b4d5e528c668b189bb8298 # Parent 40f069ddda37ab9fd9a8bfc20fc977aefff7433d fix location match type initializataion diff -r 40f069ddda37 -r 85721a583f39 src/server/daemon/location.c --- a/src/server/daemon/location.c Sun Nov 23 13:22:56 2025 +0100 +++ b/src/server/daemon/location.c Sun Nov 23 13:27:13 2025 +0100 @@ -105,6 +105,7 @@ } WSLocation *location = cxZalloc(a, sizeof(WSLocation)); + location->match = match; location->match_string = cx_strdup_a((a), match_str); if(match == WS_LOCATION_MATCH_CS_REGEX || match == WS_LOCATION_MATCH_CI_REGEX) {