Sun, 23 Nov 2025 13:27:13 +0100
fix location match type initializataion
| src/server/daemon/location.c | file | annotate | diff | comparison | revisions |
--- 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) {