libidav/resource.c

changeset 475
52e4171d42ce
parent 441
99c26b1b7327
child 477
9a406db6729b
--- a/libidav/resource.c	Sun Sep 23 08:13:50 2018 +0200
+++ b/libidav/resource.c	Sun Sep 23 12:51:41 2018 +0200
@@ -647,7 +647,7 @@
         proplist = ucx_list_append_a(mp->allocator, proplist, p);
     }
     
-    UcxBuffer *rqbuf = create_propfind_request(res->session, proplist);
+    UcxBuffer *rqbuf = create_propfind_request(res->session, proplist, "propfind", 0);
     int ret = dav_propfind(res->session, res, rqbuf);
     ucx_buffer_free(rqbuf);
     ucx_mempool_destroy(mp);
@@ -968,7 +968,7 @@
         // if the session has encrypted file names, add crypto infos
         if(!resource_add_crypto_info(sn, res->href, res->name, NULL)) {
             // do a minimal propfind request
-            UcxBuffer *rqbuf = create_propfind_request(sn, NULL);
+            UcxBuffer *rqbuf = create_propfind_request(sn, NULL, "propfind", 0);
             int ret = dav_propfind(sn, res, rqbuf);
             ucx_buffer_free(rqbuf);
             return ret;

mercurial