fixup! Introduction of cfgmgr

This commit is contained in:
Colin Vidal
2024-12-16 10:50:22 +01:00
parent 03d2b4a670
commit 62da04fd76

View File

@@ -262,7 +262,9 @@ pushclause(const char *name, unsigned long id) {
openedclause_t *clause = isc_mem_get(mctx, sizeof(*clause));
*clause = (openedclause_t){
.name = isc_mem_allocate(mctx, strlen(name) + 1), .id = id
.name = isc_mem_allocate(mctx, strlen(name) + 1),
.id = id,
.link = ISC_LINK_INITIALIZER,
};
strcpy(clause->name, name);
ENSURE(clause->id > 0);