fixup! Introduction of cfgmgr

This commit is contained in:
Colin Vidal
2025-01-14 12:14:27 +01:00
parent 60cad4cca6
commit 3b41e53c96
+3 -1
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);