--- a/libidav/resource.c Sat Dec 27 22:47:56 2025 +0100 +++ b/libidav/resource.c Thu Jan 08 18:06:04 2026 +0100 @@ -360,7 +360,7 @@ cxstring ns_str = cx_str(ns); cxstring name_str = cx_str(name); - return cx_strcat_a(a, 4, ns_str, cx_str("\0"), name_str, cx_str("\0")); + return cx_strcat_a(a, CX_NULLSTR, 4, ns_str, cx_str("\0"), name_str, cx_str("\0")); } @@ -1508,7 +1508,7 @@ // create an xml document containing all properties CxMap *nsmap = cxHashMapCreate(cxDefaultAllocator, CX_STORE_POINTERS, 8); cxSetDestructor(nsmap, free); - cxMapPut(nsmap, cx_hash_key_str("DAV:"), strdup("D")); + cxMapPut(nsmap, "DAV:", strdup("D")); cxBufferPutString(content, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); cxBufferPutString(content, "<D:prop xmlns:D=\"DAV:\">\n");