diff -r f7544e220a0f -r 3ad0b65ec838 src/server/plugins/postgresql/webdav.c --- a/src/server/plugins/postgresql/webdav.c Mon Apr 25 21:40:26 2022 +0200 +++ b/src/server/plugins/postgresql/webdav.c Mon Apr 25 22:35:30 2022 +0200 @@ -354,7 +354,7 @@ PGresult *result = pg->result; WebdavVFSProperties vfsprops = pg->vfsproperties; - WSBool vfsprops_set = 0; + WSBool vfsprops_set = 0; // are live properties added to the response? int64_t current_resource_id = pg->resource_id; for(int r=0;rnrows;r++) { // columns: @@ -380,7 +380,6 @@ return 1; } - //char *nodename = PQgetvalue(result, r, 3); if(resource_id != current_resource_id) { // create a href string for the new resource // if the resource is a collection, it should have a trailing '/' @@ -402,7 +401,7 @@ current_resource_id = resource_id; } - // standard webdav properties + // standard webdav live properties if(!vfsprops_set) { if(vfsprops.getresourcetype) { if(iscollection) { @@ -433,7 +432,6 @@ } - vfsprops_set = TRUE; } @@ -459,10 +457,8 @@ resource->addproperty(resource, property, 200); } - + } - } - return 0; }