Wed, 10 Dec 2025 21:22:57 +0100
fix client build
| client/uiclient.c | file | annotate | diff | comparison | revisions | |
| client/uiclient.h | file | annotate | diff | comparison | revisions |
--- a/client/uiclient.c Wed Dec 10 19:04:46 2025 +0100 +++ b/client/uiclient.c Wed Dec 10 21:22:57 2025 +0100 @@ -83,7 +83,7 @@ /* * This message callback is executed in the message handler input thread */ -void client_msg_received(cxmutstr msg) { +void client_msg_received(cxstring msg) { // parse message CxJson json; cxJsonInit(&json, NULL); @@ -182,7 +182,7 @@ if(!obj_id.ptr) { return 1; } - if(!id) { + if(!id.ptr) { return 1; }
--- a/client/uiclient.h Wed Dec 10 19:04:46 2025 +0100 +++ b/client/uiclient.h Wed Dec 10 21:22:57 2025 +0100 @@ -48,7 +48,7 @@ void client_init(UiMessageHandler *handler); -void client_msg_received(cxmutstr msg); +void client_msg_received(cxstring msg); int client_handle_json(UiObject *obj, const CxJsonValue *value);