diff -r e554f3d72d9e -r 067ea2315a8a libidav/davqlexec.c --- a/libidav/davqlexec.c Tue Dec 12 23:58:54 2017 +0100 +++ b/libidav/davqlexec.c Mon Dec 18 11:56:11 2017 +0100 @@ -488,7 +488,7 @@ DavResource *root = sr->resource; util_set_url(sn, dav_resource_get_href(sr->resource)); - CURLcode ret = do_propfind_request(sn->handle, rqbuf, rpbuf); + CURLcode ret = do_propfind_request(sn, rqbuf, rpbuf); long http_status = 0; curl_easy_getinfo(sn->handle, CURLINFO_RESPONSE_CODE, &http_status); //printf("rpbuf: %s %s\n%.*s\n\n", sr->resource->path, sr->resource->href, rpbuf->pos, rpbuf->space);