diff -r 4bccc18820e8 -r 664aeaec8d25 libidav/resource.c --- a/libidav/resource.c Tue Jul 07 20:47:02 2015 +0200 +++ b/libidav/resource.c Wed Jul 08 17:31:26 2015 +0200 @@ -34,7 +34,6 @@ #include "utils.h" #include "session.h" #include "methods.h" -#include "davql.h" #include "crypto.h" #include "ucx/buffer.h" #include "ucx/utils.h" @@ -422,7 +421,7 @@ int dav_load(DavResource *res) { UcxBuffer *rqbuf = create_allprop_propfind_request(); - int ret = dav_propfind(res->session, res, rqbuf, NULL, 0); + int ret = dav_propfind(res->session, res, rqbuf); ucx_buffer_free(rqbuf); return ret; } @@ -660,7 +659,7 @@ // do a minimal propfind request UcxBuffer *rqbuf = create_propfind_request(sn, NULL); - int ret = dav_propfind(sn, res, rqbuf, NULL, 0); + int ret = dav_propfind(sn, res, rqbuf); ucx_buffer_free(rqbuf); return ret; } else {