libidav/resource.c

changeset 888
af685cc9d623
parent 872
d24de29ad1fe
--- a/libidav/resource.c	Sun Aug 31 14:39:13 2025 +0200
+++ b/libidav/resource.c	Sat Nov 08 23:06:11 2025 +0100
@@ -37,7 +37,6 @@
 #include "methods.h"
 #include "crypto.h"
 #include <cx/buffer.h>
-#include <cx/utils.h>
 #include <cx/hash_map.h>
 #include <cx/printf.h>
 #include <cx/mempool.h>
@@ -1599,7 +1598,7 @@
             property->value = n->children ? dav_convert_xml(sn, n->children) : NULL;
             
             cxmutstr propkey = dav_property_key(property->ns->name, property->name);
-            cxMapPut(map, cx_hash_key_cxstr(propkey), property);
+            cxMapPut(map, propkey, property);
             cx_strfree(&propkey);
         }
         n = n->next;

mercurial