diff -r 07b815faa6ac -r f00d03835dd9 src/server/config/acl.c --- a/src/server/config/acl.c Tue Dec 30 21:44:49 2025 +0100 +++ b/src/server/config/acl.c Tue Jan 13 18:09:20 2026 +0100 @@ -41,9 +41,9 @@ ACLFile *conf = malloc(sizeof(ACLFile)); conf->parser.parse = acl_parse; - conf->namedACLs = cxLinkedListCreate(cxDefaultAllocator, NULL, CX_STORE_POINTERS); - conf->uriACLs = cxLinkedListCreate(cxDefaultAllocator, NULL, CX_STORE_POINTERS); - conf->pathACLs = cxLinkedListCreate(cxDefaultAllocator, NULL, CX_STORE_POINTERS); + conf->namedACLs = cxLinkedListCreate(cxDefaultAllocator, CX_STORE_POINTERS); + conf->uriACLs = cxLinkedListCreate(cxDefaultAllocator, CX_STORE_POINTERS); + conf->pathACLs = cxLinkedListCreate(cxDefaultAllocator, CX_STORE_POINTERS); int r = cfg_parse_basic_file((ConfigParser*)conf, in); if(r != 0) { @@ -69,7 +69,7 @@ CxAllocator *mp = aclf->parser.a; if(cx_strprefix(cx_strcast(line), cx_str("ACL "))) { - cxmutstr param = cx_strsubs_m(line, 4); + cxmutstr param = cx_strsubs(line, 4); ConfigParam *plist = cfg_param_list(param, mp); ACLConfig *acl = OBJ_NEW(mp, ACLConfig); acl->type.ptr = NULL; @@ -97,7 +97,7 @@ acl->type = type; } } else if(cx_strprefix(cx_strcast(line), cx_str("Authenticate "))) { - cxmutstr param = cx_strsubs_m(line, 13); + cxmutstr param = cx_strsubs(line, 13); ConfigParam *plist = cfg_param_list(param, mp); aclf->cur->authparam = plist; } else {