323 WebdavProppatchRequest *req = pool_malloc( |
323 WebdavProppatchRequest *req = pool_malloc( |
324 op->sn->pool, |
324 op->sn->pool, |
325 sizeof(WebdavProppatchRequest)); |
325 sizeof(WebdavProppatchRequest)); |
326 memcpy(req, orig_request, sizeof(WebdavProppatchRequest)); |
326 memcpy(req, orig_request, sizeof(WebdavProppatchRequest)); |
327 req->dav = dav; |
327 req->dav = dav; |
328 req->set = set; |
328 req->set = orig_request->set; |
329 req->setcount = set_count; |
329 req->setcount = orig_request->setcount; |
330 req->remove = remove; |
330 req->remove = orig_request->remove; |
331 req->removecount = remove_count; |
331 req->removecount = orig_request->removecount; |
332 req->userdata = NULL; |
332 req->userdata = NULL; |
333 |
333 |
334 // check if we need to open the file because the backend wants it |
334 // check if we need to open the file because the backend wants it |
335 if(!file && (dav->settings & WS_WEBDAV_PROPPATCH_USE_VFS) |
335 if(!file && (dav->settings & WS_WEBDAV_PROPPATCH_USE_VFS) |
336 == WS_WEBDAV_PROPPATCH_USE_VFS) |
336 == WS_WEBDAV_PROPPATCH_USE_VFS) |