diff -r 017a4f09e6fa -r 52e4171d42ce libidav/resource.c --- 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;