libidav/webdav.c

changeset 645
ad61c1654dce
parent 609
dc3d70848c7c
child 747
efbd59642577
--- a/libidav/webdav.c	Tue Sep 17 21:21:36 2019 +0200
+++ b/libidav/webdav.c	Fri Sep 20 20:27:05 2019 +0200
@@ -63,6 +63,10 @@
         dav_context_destroy(context);
         return NULL;
     }
+    context->namespaceinfo = ucx_map_new(16);
+    if(!context->namespaceinfo) {
+        dav_context_destroy(context);
+    }
     context->keys = ucx_map_new(16);
     if(!context->keys) {
         dav_context_destroy(context);
@@ -122,6 +126,9 @@
         }
         ucx_map_free(ctx->namespaces);
     }
+    if(ctx->namespaceinfo) {
+        // TODO: implement
+    }
     if(ctx->keys) {
         UcxMapIterator i = ucx_map_iterator(ctx->keys);
         UcxKey k;

mercurial