src/server/daemon/location.c

changeset 637
85721a583f39
parent 636
40f069ddda37
child 640
a95045234b9b
--- 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) {

mercurial