diff -r 07b815faa6ac -r f00d03835dd9 src/server/config/serverconfig.c --- a/src/server/config/serverconfig.c Tue Dec 30 21:44:49 2025 +0100 +++ b/src/server/config/serverconfig.c Tue Jan 13 18:09:20 2026 +0100 @@ -79,7 +79,7 @@ // temporary buffer to store the file content CxBuffer buf; - if(cxBufferInit(&buf, NULL, 16384, cxDefaultAllocator, CX_BUFFER_AUTO_EXTEND|CX_BUFFER_FREE_CONTENTS)) { + if(cxBufferInit(&buf, cxDefaultAllocator, NULL, 16384, CX_BUFFER_AUTO_EXTEND|CX_BUFFER_FREE_CONTENTS)) { fclose(in); parser->error = CONFIG_PARSER_OOM; return NULL; @@ -339,7 +339,7 @@ } else if(current->type == CONFIG_NODE_OPEN_OBJECT) { // newline after a object is opened with '{' // append '{' to the object text - cxmutstr new_textbegin = cx_strcat_a(a, 2, obj->text_begin, line_cp); + cxmutstr new_textbegin = cx_strcat_a(a, CX_NULLSTR, 2, obj->text_begin, line_cp); cxFree(a, obj->text_begin.ptr); cxFree(a, line_cp.ptr); obj->text_begin = new_textbegin; @@ -466,7 +466,7 @@ } CxList* serverconfig_get_node_list(ConfigNode *parent, ConfigNodeType type, cxstring name) { - CxList *nodes = cxLinkedListCreate(cxDefaultAllocator, NULL, CX_STORE_POINTERS); + CxList *nodes = cxLinkedListCreate(cxDefaultAllocator, CX_STORE_POINTERS); for(ConfigNode *node=parent->children_begin;node;node=node->next) { if(node->type == type && !cx_strcasecmp(cx_strcast(node->name), name)) {