src/server/test/webdav.c

branch
webdav
changeset 307
8787cb5ebab3
parent 306
e03737cea6e2
child 320
a40f7af1b670
--- a/src/server/test/webdav.c	Sun Apr 24 18:35:44 2022 +0200
+++ b/src/server/test/webdav.c	Mon Apr 25 13:48:05 2022 +0200
@@ -55,6 +55,7 @@
 static int backend2_propfind_init(
         WebdavPropfindRequest *propfind,
         const char *path,
+        const char *href,
         WebdavPList **outPList)
 {
     backend2_init_called = 1;
@@ -145,6 +146,7 @@
 static int backend1_propfind_init(
         WebdavPropfindRequest *propfind,
         const char *path,
+        const char *href,
         WebdavPList **outPList)
 {
     backend1_init_called = 1;
@@ -313,7 +315,7 @@
     UcxList *requests = NULL;
     
     // Initialize all Webdav Backends
-    if(webdav_propfind_init(&backend1, propfind, "/", &requests)) {
+    if(webdav_propfind_init(&backend1, propfind, "/", "/", &requests)) {
         return NULL;
     }
     
@@ -996,7 +998,7 @@
     UCX_TEST_ASSERT(!test_init(&sn, &rq, &propfind, TEST_PROPFIND1), "init failed");
     
     UcxList *requests = NULL;
-    int err = webdav_propfind_init(&backend1, propfind, "/", &requests);
+    int err = webdav_propfind_init(&backend1, propfind, "/", "/", &requests);
     
     UCX_TEST_ASSERT(!err, "webdav_propfind_init failed");
     UCX_TEST_ASSERT(requests, "request list is empty");

mercurial