diff -r cd74667f6c85 -r 4adad7faf452 src/server/webdav/multistatus.c --- a/src/server/webdav/multistatus.c Sat Jan 25 15:34:30 2020 +0100 +++ b/src/server/webdav/multistatus.c Sat Jan 25 21:37:38 2020 +0100 @@ -303,6 +303,8 @@ return NULL; } + res->resource.err = 0; + // add resource funcs res->resource.addproperty = msresponse_addproperty; res->resource.close = msresponse_close; @@ -507,6 +509,8 @@ pool_handle_t *pool = response->multistatus->sn->pool; UcxAllocator *a = session_get_allocator(response->multistatus->sn); + response->resource.err++; + // MSResponse contains a list of properties for each status code // at first find the list for this status code PropertyErrorList *errlist = NULL;