src/server/webdav/webdav.c

branch
webdav
changeset 318
60870dbac94f
parent 309
fc021bd576d4
child 322
f26bd6e17594
--- a/src/server/webdav/webdav.c	Tue Apr 26 18:21:25 2022 +0200
+++ b/src/server/webdav/webdav.c	Sat Apr 30 20:44:38 2022 +0200
@@ -1126,7 +1126,7 @@
         WSNamespace *ns = cur->property->namespace;
         if(ns && !strcmp((const char*)ns->href, "DAV:")) {
             const char *name = cur->property->name;
-            WSBool remove_prop = TRUE;
+            WSBool remove_prop = removefromlist;
             if(!strcmp(name, "getlastmodified")) {
                 ret.getlastmodified = 1;
             } else if(!strcmp(name, "getcontentlength")) {

mercurial