fix(server): initialize config pointer in server struct

This commit is contained in:
2026-03-12 01:11:00 +01:00
parent 8f47a0b666
commit 5283750095
+2
View File
@@ -43,6 +43,8 @@ int main(void) {
return EXIT_FAILURE;
}
server.config = config;
cws_log_info("Running cws on http://%s:%s", config->host, config->port);
ret = cws_server_start(&server);
if (ret != CWS_OK) {