libidav/resource.c

changeset 135
664aeaec8d25
parent 134
4bccc18820e8
child 139
c6424aebcf5e
--- 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 {

mercurial