src/server/webdav/operation.c

branch
webdav
changeset 378
0344108db255
parent 327
24e740ed90b3
child 413
6afaebf003ea
equal deleted inserted replaced
377:c011bc2b3143 378:0344108db255
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)

mercurial